BDE 4.14.0 Production release
|
#include <bdlf_memfn.h>
Static Public Member Functions | |
static OBJTYPE & | derefImp (OBJTYPE &obj, bsl::false_type *) |
template<class TYPE > | |
static OBJTYPE & | derefImp (TYPE &obj, bsl::true_type *) |
template<class TYPE > | |
static OBJTYPE & | derefImp (const TYPE &obj, bsl::true_type *) |
template<class TYPE > | |
static OBJTYPE & | deref (TYPE &obj) |
template<class TYPE > | |
static OBJTYPE & | deref (const TYPE &obj) |
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.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |