STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

std_mem_fun_t Class Template Reference

An adaptor for member functions of COM interfaces. More...

#include <comstl_functionals.h>

List of all members.

Public Methods

 std_mem_fun_t (method_type f)
 Constructor.

return_type operator() (operand_class_type *pt) const
 Function call operator.


Detailed Description

template<typename R, typename T>
class comstl::std_mem_fun_t< R, T >

An adaptor for member functions of COM interfaces.

This function object calls a COM STDAPI (__stdcall) function on an object.

Parameters:
T  The object class on which the function will be applied
R  The return type of the function to be applied


Constructor & Destructor Documentation

std_mem_fun_t method_type    f [inline, explicit]
 

Constructor.

Parameters:
f  The function (pointer to member of T, returning R) which will be applied to the objects


Member Function Documentation

return_type operator() operand_class_type *    pt const [inline]
 

Function call operator.

Parameters:
pt  The object pointer on which to apply the function


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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004