10 #ifndef LARCOREALG_COREUTILS_OPERATIONS_H 11 #define LARCOREALG_COREUTILS_OPERATIONS_H 40 return std::addressof(ref);
107 template <
typename T>
108 decltype(
auto) operator()(T&& ptr)
const 137 #endif // LARCOREALG_COREUTILS_OPERATIONS_H Namespace for general, non-LArSoft-specific utilities.
decltype(auto) takeAddress()
Returns a functor that returns the address of its argument.
Functor returning the address in memory of the operand.
auto operator()(T &ref) const
Returns the address of the argument.
decltype(auto) dereference()
Returns a functor that returns *ptr of its argument ptr.
Functor dereferencing the operand.