[#BloombergLP-bslma-ManagedPtr-0fa-operator_star]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[ManagedPtr]::operator&ast;
:relfileprefix: ../../../
:mrdocs:

Return a reference to the target object&period; The behavior is undefined if this managed pointer is empty, or if `TARGET&lowbar;TYPE` is `void` or `const void`&period;

== Synopsis

Declared in `&lt;bslma&lowbar;managedptr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bslmf::AddReference&lt;TARGET&lowbar;TYPE&gt;::Type
operator&ast;() const;
----

== Return Value

reference to the target object


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