This utility is used to convert user supplied values to references to OBJTYPE for object references that are directly convertible to OBJTYPE, the reference is returned directly. For pointers and objects that are not directly convertible (e.g., "smart pointers to OBJTYPE"), the result of *OBJECT is returned, where OBJECT is the pointer or object reference.

Synopsis

Declared in <bdlf_memfn.h>

template<class OBJTYPE>
struct MemFn_Dereference;

Static Member Functions

Name

Description

deref

Return a reference to the specified obj.

derefImp

derefImp overloads

Created with MrDocs