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

const_mem_fun1_t Class Template Reference

#include <stl_function.h>

Inheritance diagram for const_mem_fun1_t:

Inheritance graph
[legend]
Collaboration diagram for const_mem_fun1_t:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Private Attributes

S(T::* f )(A) const

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


Constructor & Destructor Documentation

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

Definition at line 479 of file stl_function.h.

References f.

00479 : f(pf) {}


Member Function Documentation

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

Definition at line 480 of file stl_function.h.

References f.

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


Member Data Documentation

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

Referenced by const_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:24 2002

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