Template Struct noop

Inheritance Relationships

Base Type

  • public std::unary_function< T1, T1 >

Struct Documentation

template<typename T1>
struct noop : public std::unary_function<T1, T1>

A noop functor (useful for e.g. masks and variances when changing the sign of the image)

Public Functions

T1 operator()(const T1 &x) const