EvolvingObjects
|
Basic Binary Functor. More...
#include <eoFunctor.h>
Public Member Functions | |
virtual | ~eoBF () |
virtual dtor here so there is no need to define it in derived classes | |
virtual R | operator() (A1, A2)=0 |
The pure virtual function that needs to be implemented by the subclass. | |
Static Public Member Functions | |
static eoFunctorBase::binary_function_tag | functor_category () |
tag to identify a procedure in compile time function selection |
Basic Binary Functor.
Derive from this class when defining any binary function. First template argument is result_type, second is first_argument_type, third is second_argument_type. Argument and result types can be any type including void for result_type
Definition at line 151 of file eoFunctor.h.
static eoFunctorBase::binary_function_tag eoBF< A1, A2, R >::functor_category | ( | ) | [inline, static] |
tag to identify a procedure in compile time function selection
Definition at line 165 of file eoFunctor.h.