derefImp overloads

Synopses

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*);

Dereference the specified obj when it has pointer semantics.

template<class TYPE>
static
OBJTYPE&
derefImp(
    TYPE& obj,
    bsl::true_type*);

Dereference the specified obj when it has pointer semantics.

template<class TYPE>
static
OBJTYPE&
derefImp(
    TYPE const& obj,
    bsl::true_type*);

Created with MrDocs