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

binary_negate Class Template Reference

#include <stl_function.h>

Inheritance diagram for binary_negate:

Inheritance graph
[legend]
Collaboration diagram for binary_negate:

Collaboration graph
[legend]
List of all members.

Public Methods

 binary_negate (const Predicate &x)
bool operator() (const typename Predicate::first_argument_type &x, const typename Predicate::second_argument_type &y) const

Protected Attributes

Predicate pred

template<class Predicate>
class binary_negate< Predicate >


Constructor & Destructor Documentation

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

Definition at line 153 of file stl_function.h.

References pred.

00153 : pred(x) {}


Member Function Documentation

template<class Predicate>
bool binary_negate< Predicate >::operator() const typename Predicate::first_argument_type &    x,
const typename Predicate::second_argument_type &    y
const [inline]
 

Definition at line 154 of file stl_function.h.

References pred.

00155                                                                          {
00156     return !pred(x, y); 
00157   }


Member Data Documentation

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

Definition at line 151 of file stl_function.h.

Referenced by binary_negate, and operator().


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

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

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