#include <SimpleFunctors.h>
Public Member Functions | |
FcnFunctor2 (Result(*fcn)(Arg1, Arg2)) | |
Result | operator() (const Arg1 &x, const Arg2 &y) const |
Public Member Functions inherited from npstat::Functor2< Result, Arg1, Arg2 > | |
virtual | ~Functor2 () |
Private Member Functions | |
FcnFunctor2 ()=delete | |
Private Attributes | |
Result(* | fcn_ )(Arg1, Arg2) |
Additional Inherited Members | |
Public Types inherited from npstat::Functor2< Result, Arg1, Arg2 > | |
typedef Arg1 | first_argument_type |
typedef Result | result_type |
typedef Arg2 | second_argument_type |
Adaptation for using two-argument functors with simple cmath-style functions. Do not use this struct as a base class.
Definition at line 166 of file SimpleFunctors.h.
|
inlineexplicit |
Definition at line 168 of file SimpleFunctors.h.
|
privatedelete |
|
inlinevirtual |
|
private |
Definition at line 175 of file SimpleFunctors.h.