Belle II Software
release-08-01-10
|
Generic functor to wrap a constant as a function. More...
#include <Functional.h>
Public Member Functions | |
operator FunctorTag () | |
Marker function for the isFunctor test. | |
Constant (const T &t) | |
Constructor from the constant value. | |
template<class S > | |
constexpr const T & | operator() (const S &) const |
Operator returning the constant. | |
Private Attributes | |
T | m_t {} |
Memory for the constant to be returned. | |
Generic functor to wrap a constant as a function.
Definition at line 39 of file Functional.h.