Belle II Software  release-08-01-10
Constant< T > Struct Template Reference

Generic functor to wrap a constant as a function. More...

#include <Functional.h>

Collaboration diagram for Constant< T >:

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

m_t {}
 Memory for the constant to be returned.
 

Detailed Description

template<class T>
struct Belle2::TrackFindingCDC::Constant< T >

Generic functor to wrap a constant as a function.

Definition at line 39 of file Functional.h.


The documentation for this struct was generated from the following file: