[#BloombergLP-bdlf-MemFn_Dereference-derefImp-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::xref:BloombergLP/bdlf/MemFn_Dereference.adoc[MemFn&lowbar;Dereference]::derefImp
:relfileprefix: ../../../
:mrdocs:

Dereference the specified `obj` when it has pointer semantics&period;

== Synopsis

Declared in `&lt;bdlf&lowbar;memfn&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
OBJTYPE&
derefImp(
    TYPE& obj,
    xref:bsl/true_type.adoc[bsl::true&lowbar;type]* tag);
----

== Return Value

reference obtained by dereferencing `obj`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *obj*
| pointer&hyphen;like object to dereference
| *tag*
| tag indicating the object has pointer semantics
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
