BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlf::MemFnUtil Struct Reference

#include <bdlf_memfn.h>

Detailed Description

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

See bdlf_memfn

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)
 

Member Function Documentation

◆ memFn() [1/2]

template<class PROTOTYPE >
MemFn< PROTOTYPE > bdlf::MemFnUtil::memFn ( PROTOTYPE  func)
inlinestatic

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

◆ memFn() [2/2]

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

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: