aimstil
5.0.5
|
Wrap a standard functor inside a detemplated functor. More...
#include <til/TExprBasicFunctors.h>
Classes | |
struct | TypeStruct |
Public Member Functions | |
Wrap (TFunctor &f) | |
Wrap a standard functor inside a detemplated functor.
The operation at hand here is different from detemplation. Detemplation is a mean to reuse pure templated predicates as genuine template expression functors. The resulting detemplated functors are defined online, inside template expressions. Functor wrapping, on the other hand, deals with functors (usually, non-stateless functors) that are defined beforehand and that we wish to use in a template expression.
Definition at line 272 of file TExprBasicFunctors.h.
|
inline |
Definition at line 281 of file TExprBasicFunctors.h.