derefImp overloads
Declared in <bdlf_memfn.h>
Return a reference to the specified obj when it does not have pointer semantics.
static
OBJTYPE&
derefImp(
OBJTYPE& obj,
bsl::false_type* tag);
» more...
Dereference the specified obj when it has pointer semantics.
template<class TYPE>
static
OBJTYPE&
derefImp(
TYPE& obj,
bsl::true_type* tag);
» more...
Dereference the specified obj when it has pointer semantics.
template<class TYPE>
static
OBJTYPE&
derefImp(
TYPE const& obj,
bsl::true_type* tag);
» more...
objobj| Name | Description |
|---|---|
| obj | object to return by reference |
| tag | tag indicating the object does not have pointer semantics |