#include <bdlf_memfn.h>
|
| template<class PROTOTYPE > |
| static MemFn< PROTOTYPE > | memFn (PROTOTYPE func) |
| |
| template<class PROTOTYPE , class INSTANCE > |
| static MemFnInstance< PROTOTYPE, INSTANCE > | memFn (PROTOTYPE func, const INSTANCE &object) |
| |
The methods provided in this utility are used for constructing MemFn and MemFnInstance objects from function pointers.
◆ 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: