stlsoft/functional/method_adaptors.hpp File Reference


Detailed Description

[C++ only] Function classes that adapt member functions (and handle different calling conventions), and their creator functions: stlsoft::mem_fun() and stlsoft::mem_fun_ref() (Functional Library).

#include <stlsoft/stlsoft.h>
#include <functional>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

struct  fastcall_mem_fun_t
 A function class that invokes a fastcall calling convention 0-parameter mutating (non-const) member function on its pointer argument. More...
struct  fastcall_mem_fun_const_t
 A function class that invokes a fastcall calling convention 0-parameter non-mutating (const) member function on its pointer argument. More...
struct  stdcall_mem_fun_t
 A function class that invokes a stdcall calling convention 0-parameter mutating (non-const) member function on its pointer argument. More...
struct  stdcall_mem_fun_const_t
 A function class that invokes a stdcall calling convention 0-parameter non-mutating (const) member function on its pointer argument. More...
struct  fastcall_mem_fun_ref_t
 A function class that invokes a fastcall calling convention 0-parameter mutating (non-const) member function on its pointer argument. More...
struct  fastcall_mem_fun_ref_const_t
 A function class that invokes a fastcall calling convention 0-parameter non-mutating (const) member function on its pointer argument. More...
struct  stdcall_mem_fun_ref_t
 A function class that invokes a stdcall calling convention 0-parameter mutating (non-const) member function on its pointer argument. More...
struct  stdcall_mem_fun_ref_const_t
 A function class that invokes a stdcall calling convention 0-parameter non-mutating (const) member function on its pointer argument. More...

Functions

template<typename R, typename T>
fastcall_mem_fun_t< R, T > mem_fun (R(__fastcallT::*func)())
 Creator function to adapt a pointer to a 0-parameter mutating (non-const) member function, for use with a pointer to the class.
template<typename T>
fastcall_mem_fun_t< void, T > mem_fun_void (void(__fastcallT::*func)())
template<typename R, typename T>
stdcall_mem_fun_t< R, T > mem_fun (R(__stdcallT::*func)())
 Creator function to adapt a pointer to a 0-parameter mutating (non-const) member function, for use with a pointer to the class.
template<typename T>
stdcall_mem_fun_t< void, T > mem_fun_void (void(__stdcallT::*func)())
template<typename R, typename T>
fastcall_mem_fun_ref_t< R, T > mem_fun_ref (R(__fastcallT::*func)())
 Creator function to adapt a pointer to a 0-parameter mutating (non-const) member function, for use with a reference to the class.
template<typename T>
fastcall_mem_fun_ref_t< void, T > mem_fun_ref_void (void(__fastcallT::*func)())
template<typename R, typename T>
stdcall_mem_fun_ref_t< R, T > mem_fun_ref (R(__stdcallT::*func)())
 Creator function to adapt a pointer to a 0-parameter mutating (non-const) member function, for use with a reference to the class.
template<typename T>
stdcall_mem_fun_ref_t< void, T > mem_fun_ref_void (void(__stdcallT::*func)())


Generated on Thu Jun 10 08:58:02 2010 for STLSoft by  doxygen 1.5.6