#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 () | |
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 134 of file SimpleFunctors.h.
|
inlineexplicit |
Definition at line 136 of file SimpleFunctors.h.
|
private |
|
inlinevirtual |
Implements npstat::Functor0< Result >.
Definition at line 138 of file SimpleFunctors.h.
|
private |
Definition at line 142 of file SimpleFunctors.h.