#include <SimpleFunctors.h>
Public Member Functions | |
FcnFunctor3 (Result(*fcn)(Arg1, Arg2, Arg3)) | |
Result | operator() (const Arg1 &x, const Arg2 &y, const Arg3 &z) const |
Private Member Functions | |
FcnFunctor3 () | |
Private Attributes | |
Result(* | fcn_ )(Arg1, Arg2, Arg3) |
Adaptation for using three-argument functors with simple cmath-style functions. Do not use this struct as a base class.
Definition at line 183 of file SimpleFunctors.h.
npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >::FcnFunctor3 | ( | Result(*)(Arg1, Arg2, Arg3) | fcn | ) | [inline, explicit] |
Definition at line 185 of file SimpleFunctors.h.
npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >::FcnFunctor3 | ( | ) | [private] |
Result npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >::operator() | ( | const Arg1 & | x, |
const Arg2 & | y, | ||
const Arg3 & | z | ||
) | const [inline, virtual] |
Implements npstat::Functor3< Result, Arg1, Arg2, Arg3 >.
Definition at line 187 of file SimpleFunctors.h.
References npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >::fcn_.
Result(* npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >::fcn_)(Arg1, Arg2, Arg3) [private] |
Definition at line 192 of file SimpleFunctors.h.
Referenced by npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >::operator()().