not1(3C++) - not1(3C++)
Standard C++ Library Copyright 1998, Rogue Wave Software, Inc.
NAMEnot1
- A function adaptor used to reverse the sense of a unary predicate
function object.
SYNOPSIS
#include <functional>
template<class Predicate>
unary_negate <Predicate> not1 (const Predicate&);
DESCRIPTIONnot1 is a function adaptor, known as a negator, that takes a unary
predicate function object as its argument and returns a unary predicate
function object that is the complement of the original. unary_negate is
a function object class that includes a return type for the not1_nega‐
tor.
Note that not1 works only with function objects that are defined as
subclasses of the class unary_function.
SEE ALSO
Negators, not2, unary_function, unary_negate, pointer_to_unary_function
Rogue Wave Software 02 Apr 1998 not1(3C++)