.\" ident @(#)not1.3 .\" Standard Template Library .\" $$RW_INSERT_HEADER "slyrs.man" .TH not1 3C++ "02 Apr 1998" "Rogue Wave Software" "-" .ce2 Standard C++ Library Copyright 1998, Rogue Wave Software, Inc. .SH NAME \f2not1\fP \ - A function adaptor used to reverse the sense of a unary predicate function object. .SH SYNOPSIS .RE .RS 0 #include .br template .br unary_negate not1 (const Predicate&); .SH DESCRIPTION not1 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_negator. Note that not1 works only with function objects that are defined as subclasses of the class unary_function. .SH SEE ALSO Negators, not2, unary_function, unary_negate, pointer_to_unary_function