Name

logical_not class template — Binary functional for logical negation

Synopsis

template <typename T>
struct logical_not : unary_function<T, bool> {
  bool operator(  )(const T& x) const;
};

The logical_not class template is a unary functional in which operator( ) returns !x.