Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bdlf::MemFnUtil Struct Reference

#include <bdlf_memfn.h>

List of all members.

Static Public Member Functions

template<class PROTOTYPE >
static MemFn< PROTOTYPE > memFn (PROTOTYPE func)
template<class PROTOTYPE , class INSTANCE >
static MemFnInstance
< PROTOTYPE, INSTANCE > 
memFn (PROTOTYPE func, const INSTANCE &object)

Detailed Description

The methods provided in this utility are used for constructing MemFn and MemFnInstance objects from function pointers.

See Component bdlf_memfn


Member Function Documentation

template<class PROTOTYPE >
static MemFn<PROTOTYPE> bdlf::MemFnUtil::memFn ( PROTOTYPE  func  )  [static]

Return a MemFn member function wrapper that encapsulates the specified func member function pointer of the parameterized PROTOTYPE.

template<class PROTOTYPE , class INSTANCE >
static MemFnInstance<PROTOTYPE, INSTANCE> bdlf::MemFnUtil::memFn ( PROTOTYPE  func,
const INSTANCE &  object 
) [static]

Return a MemFnInstance member function wrapper that encapsulates the specified func member function pointer of the parameterized PROTOTYPE and the specified object instance of the parameterized INSTANCE type.


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