#include <SimpleFunctors.h>
Public Member Functions | |
FcnFunctor0 (Result(*fcn)()) | |
Result | operator() () const |
Public Member Functions inherited from npstat::Functor0< Result > | |
virtual | ~Functor0 () |
Private Member Functions | |
FcnFunctor0 ()=delete | |
Private Attributes | |
Result(* | fcn_ )() |
Additional Inherited Members | |
Public Types inherited from npstat::Functor0< Result > | |
typedef Result | result_type |
Adaptation for using functors without arguments with simple cmath-style functions. Do not use this struct as a base class.
Definition at line 120 of file SimpleFunctors.h.
|
inlineexplicit |
Definition at line 121 of file SimpleFunctors.h.
|
privatedelete |
|
inlinevirtual |
Implements npstat::Functor0< Result >.
Definition at line 123 of file SimpleFunctors.h.
References npstat::FcnFunctor0< Result >::fcn_.
|
private |
Definition at line 127 of file SimpleFunctors.h.
Referenced by npstat::FcnFunctor0< Result >::operator()().