Belle II Software development
|
Functor to get the referenced object from an arbitrary objects. More...
#include <Functional.h>
Public Member Functions | |
operator FunctorTag () | |
Marker function for the isFunctor test. | |
template<class T > | |
auto | operator() (const T &t) const -> decltype(*t) |
Operator getting the referenced object of an arbitrary object. | |
template<class T > | |
auto | operator() (const T *t) const -> decltype(*t) |
Specialisation for pointers to make an assertion that no nullptr is dereferenced. | |
Functor to get the referenced object from an arbitrary objects.
Definition at line 390 of file Functional.h.
|
inline |
Operator getting the referenced object of an arbitrary object.
Definition at line 396 of file Functional.h.
|
inline |
Specialisation for pointers to make an assertion that no nullptr is dereferenced.
Definition at line 403 of file Functional.h.