Name

not2 function template — Returns a binary_negate object

Synopsis

template <typename Predicate>
binary_negate<Predicate> not2(const Predicate& pred);

The not2 function template is a convenient way to construct a binary_negate function object that performs the logical negation of pred.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.