![]() |
|
|||
File indexing completed on 2024-04-06 12:01:18
0001 #ifndef CommonTools_Utils_RefSelector_h 0002 #define CommonTools_Utils_RefSelector_h 0003 0004 template <typename S> 0005 struct RefSelector { 0006 RefSelector(const S& sel) : sel_(sel) {} 0007 template <typename Ref> 0008 bool operator()(const Ref& ref) const { 0009 return sel_(*ref); 0010 } 0011 0012 private: 0013 S sel_; 0014 }; 0015 0016 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |