#include <SimpleFunctors.h>
Public Member Functions | |
FcnFunctor0 (Result(*fcn)()) | |
FcnFunctor0 ()=delete | |
Result | operator() () const |
Public Member Functions inherited from npstat::Functor0< Result > | |
virtual | ~Functor0 () |
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.
|
delete |
|
inlinevirtual |
Implements npstat::Functor0< Result >.
Definition at line 123 of file SimpleFunctors.h.
References npstat::FcnFunctor0< Result >::fcn_.
|
private |
Definition at line 128 of file SimpleFunctors.h.
Referenced by npstat::FcnFunctor0< Result >::operator()().