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

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&period; For pointers and objects that are not directly convertible (e&period;g&period;, &quot;smart pointers to `OBJTYPE`&quot;), the result of `&ast;OBJECT` is returned, where `OBJECT` is the pointer or object reference&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class OBJTYPE&gt;
struct MemFn&lowbar;Dereference;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlf/MemFn_Dereference/deref-0a.adoc[`deref`] 
| Return a reference to the specified `obj`&period;
| xref:BloombergLP/bdlf/MemFn_Dereference/derefImp-06.adoc[`derefImp`] 
| `derefImp` overloads
|===



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