LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Functor returning the address in memory of the operand. More...
#include "operations.h"
Public Member Functions | |
template<typename T > | |
auto | operator() (T &ref) const |
Returns the address of the argument. More... | |
Functor returning the address in memory of the operand.
util::takeAddress()
Example:
will fill the vector ptrs
with pointers to the elements of data
.
std::addressof()
and it bypasses the operator&()
of the operand. Definition at line 34 of file operations.h.
|
inline |
Returns the address of the argument.
Definition at line 38 of file operations.h.