30 #if defined(CUnaryFunctor_RECURSES) 31 #error Recursive header files inclusion detected in CUnaryFunctor.h 32 #else // defined(CUnaryFunctor_RECURSES) 34 #define CUnaryFunctor_RECURSES 36 #if !defined CUnaryFunctor_h 38 #define CUnaryFunctor_h 43 #include "DGtal/base/Common.h" 44 #include "DGtal/base/ConceptUtils.h" 88 template <
typename X,
typename A,
typename R>
111 template <
typename X,
typename A,
typename R>
142 #endif // !defined CUnaryFunctor_h 144 #undef CUnaryFunctor_RECURSES 145 #endif // else defined(CUnaryFunctor_RECURSES) Go to http://www.sgi.com/tech/stl/Assignable.html.
Aim: Defines a unary functor, which associates arguments to results.
BOOST_CONCEPT_USAGE(CUnaryFunctor)
void sameType(const T &t1, const T &t2)
DGtal is the top-level namespace which contains all DGtal functions and types.
BOOST_CONCEPT_USAGE(CUnaryFunctor)