#include <SimpleFunctors.h>
Public Member Functions | |
Result | operator() (const Arg1 &a) const |
Sometimes it becomes necessary to perform an explicit cast for proper overload resolution of a converting copy constructor
Definition at line 123 of file SimpleFunctors.h.
Result npstat::CastingCopyConstructor< Result, Arg1, CastType >::operator() | ( | const Arg1 & | a | ) | const [inline, virtual] |
Implements npstat::Functor1< Result, Arg1 >.
Definition at line 125 of file SimpleFunctors.h.
{return Result(static_cast<CastType>(a));}