Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

unary_negate Class Template Reference

#include <stl_function.h>

Inheritance diagram for unary_negate:

Inheritance graph
[legend]
Collaboration diagram for unary_negate:

Collaboration graph
[legend]
List of all members.

Public Methods

 unary_negate (const Predicate &x)
bool operator() (const typename Predicate::argument_type &x) const

Protected Attributes

Predicate pred

template<class Predicate>
class unary_negate< Predicate >


Constructor & Destructor Documentation

template<class Predicate>
unary_negate< Predicate >::unary_negate const Predicate &    x [inline, explicit]
 

Definition at line 134 of file stl_function.h.

References pred.

00134 : pred(x) {}


Member Function Documentation

template<class Predicate>
bool unary_negate< Predicate >::operator() const typename Predicate::argument_type &    x const [inline]
 

Definition at line 135 of file stl_function.h.

References pred.

00135                                                                   {
00136     return !pred(x);
00137   }


Member Data Documentation

template<class Predicate>
Predicate unary_negate::pred [protected]
 

Definition at line 132 of file stl_function.h.

Referenced by operator(), and unary_negate.


The documentation for this class was generated from the following file:
logo OpenMask

Documentation generated on Thu May 2 15:03:47 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001