Unary_negate

In the template class unary_negate the operator() returns the compliment of the predicate argument.

not1

The template function not1 returns the unary_predicate of the predicate argument.

  template <class Predicate> 

  unary_negate<Predicate> 

  not1(const Predicate& pred);  
Remarks

Returns true if pred is not true.