Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ not1(3C++) — Sun WorkShop 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

not1(3C++)

Standard C++ Library
Copyright 1998, Rogue Wave Software, Inc.

 

NAME

 
not1
 
 - 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&);
 
 
 

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.
 
 
 

SEE ALSO

 
 
Negators, not2, unary_function, unary_negate, pointer_to_unary_function
 

Rogue Wave Software  —  Last change: 02 Apr 1998

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026