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

mem_fun1_t Class Template Reference

#include <stl_function.h>

Inheritance diagram for mem_fun1_t:

Inheritance graph
[legend]
Collaboration diagram for mem_fun1_t:

Collaboration graph
[legend]
List of all members.

Public Methods

 mem_fun1_t (S(T::*pf)(A))
operator() (T *p, A x) const

Private Attributes

S(T::* f )(A)

template<class S, class T, class A>
class mem_fun1_t< S, T, A >


Constructor & Destructor Documentation

template<class S, class T, class A>
mem_fun1_t< S, T, A >::mem_fun1_t S(T::*    pf)(A) [inline, explicit]
 

Definition at line 470 of file stl_function.h.

References f.

00470 : f(pf) {}


Member Function Documentation

template<class S, class T, class A>
S mem_fun1_t< S, T, A >::operator() T *    p,
  x
const [inline]
 

Definition at line 471 of file stl_function.h.

References f.

00471 { return (p->*f)(x); }


Member Data Documentation

template<class S, class T, class A>
S(T::* mem_fun1_t::f)(A) [private]
 

Referenced by mem_fun1_t, and operator().


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

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

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