not1 function template — Returns a unary_negate object
template <typename Predicate>
unary_negate<Predicate> not1(const Predicate& pred);
The not1
function template
is a convenient way to construct a unary_negate
function object that performs
the logical negation of pred
. See
Example 13-11 earlier in
this section.