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

binder2nd Class Template Reference

#include <stl_function.h>

Inheritance diagram for binder2nd:

Inheritance graph
[legend]
Collaboration diagram for binder2nd:

Collaboration graph
[legend]
List of all members.

Public Methods

 binder2nd (const Operation &x, const typename Operation::second_argument_type &y)
Operation::result_type operator() (const typename Operation::first_argument_type &x) const

Protected Attributes

Operation op
Operation::second_argument_type value

template<class Operation>
class binder2nd< Operation >


Constructor & Destructor Documentation

template<class Operation>
binder2nd< Operation >::binder2nd const Operation &    x,
const typename Operation::second_argument_type &    y
[inline]
 

Definition at line 196 of file stl_function.h.

References op, and value.

00198       : op(x), value(y) {}


Member Function Documentation

template<class Operation>
Operation::result_type binder2nd< Operation >::operator() const typename Operation::first_argument_type &    x const [inline]
 

Definition at line 200 of file stl_function.h.

References op, and value.

00200                                                                    {
00201     return op(x, value); 
00202   }


Member Data Documentation

template<class Operation>
Operation binder2nd::op [protected]
 

Definition at line 193 of file stl_function.h.

Referenced by binder2nd, and operator().

template<class Operation>
Operation::second_argument_type binder2nd::value [protected]
 

Definition at line 194 of file stl_function.h.

Referenced by binder2nd, 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