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 36 of file operations.h.
|
inline |
Returns the address of the argument.
Definition at line 40 of file operations.h.