Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include <Functors.h>
Public Member Functions | |
R | operator() (T left, T right) const |
Like UnaryWrapper, this class helps defining templated-functors that receive two parameters, so it can be used as std::plus, std::multiplies and similar ones.
R | Return type |
T | Parameter type. It is assumed both parameters are to be the same, since this is going to be used mostly to define operators |
wrapped | A pointer to the function being wrapped |
Definition at line 66 of file Functors.h.
|
inline |
Definition at line 67 of file Functors.h.