![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Functor applying the proper referenced_address() function.
More...
#include "MetaUtils.h"
Public Member Functions | |
| template<typename Ref > | |
| decltype(auto) | operator() (Ref &&ref) const |
Static Public Member Functions | |
| template<typename Ref > | |
| static decltype(auto) | addressof (Ref &&ref) |
Functor applying the proper referenced_address() function.
referenced_address()This class operates in the same way as util::referenced_address(), but it is easier to use in STL algorithms since it's not a template:
will fill dataPtr with the pointers to the elements in data. This is easier than taking the address of the correct template instance of util::referenced_address(), or than writing a lambda function for that.
Definition at line 572 of file MetaUtils.h.
|
inlinestatic |
Definition at line 580 of file MetaUtils.h.
References util::referenced_address().
|
inline |
Definition at line 574 of file MetaUtils.h.