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

pointer_to_unary_function Class Template Reference

#include <stl_function.h>

Inheritance diagram for pointer_to_unary_function:

Inheritance graph
[legend]
Collaboration diagram for pointer_to_unary_function:

Collaboration graph
[legend]
List of all members.

Public Methods

 pointer_to_unary_function ()
 pointer_to_unary_function (Result(*x)(Arg))
Result operator() (Arg x) const

Protected Attributes

Result(* ptr )(Arg)

template<class Arg, class Result>
class pointer_to_unary_function< Arg, Result >


Constructor & Destructor Documentation

template<class Arg, class Result>
pointer_to_unary_function< Arg, Result >::pointer_to_unary_function   [inline]
 

Definition at line 259 of file stl_function.h.

00259 {}

template<class Arg, class Result>
pointer_to_unary_function< Arg, Result >::pointer_to_unary_function Result(*    x)(Arg) [inline, explicit]
 

Definition at line 260 of file stl_function.h.

References ptr.

00260 : ptr(x) {}


Member Function Documentation

template<class Arg, class Result>
Result pointer_to_unary_function< Arg, Result >::operator() Arg    x const [inline]
 

Definition at line 261 of file stl_function.h.

References ptr.

00261 { return ptr(x); }


Member Data Documentation

template<class Arg, class Result>
Result(* pointer_to_unary_function::ptr)(Arg) [protected]
 

Referenced by operator(), and pointer_to_unary_function.


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

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

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