Belle II Software development
|
Functor factory from the functional composition of two functors. More...
#include <Functional.h>
Public Member Functions | |
operator FunctorTag () | |
Marker function for the isFunctor test. | |
Composition ()=default | |
Allow default construction. | |
Composition (const AFunctor2 &functor2) | |
Constructor from the nested functor. | |
Composition (const AFunctor1 &functor1, const AFunctor2 &functor2) | |
Constructor from the first and the nested functor. | |
template<class T > | |
auto | operator() (const T &t) const -> decltype(m_functor1(m_functor2(t))) |
Operator getting the result of the function composition. | |
Private Attributes | |
AFunctor1 | m_functor1 |
Memory for the nested functor. | |
AFunctor2 | m_functor2 |
Memory for the nested functor. | |
Functor factory from the functional composition of two functors.
Definition at line 87 of file Functional.h.
|
inlineexplicit |
Constructor from the nested functor.
Definition at line 95 of file Functional.h.
|
inline |
Constructor from the first and the nested functor.
Definition at line 102 of file Functional.h.
|
inline |
Operator getting the result of the function composition.
Definition at line 118 of file Functional.h.
|
private |
Memory for the nested functor.
Definition at line 110 of file Functional.h.
|
private |
Memory for the nested functor.
Definition at line 113 of file Functional.h.