[#bsl-shared_ptr-0a-operator_ptr]
= xref:bsl.adoc[bsl]::xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr]::operator&hyphen;&gt;
:relfileprefix: ../../
:mrdocs:

Return the address providing modifiable access to the object referred to by this shared pointer, or 0 if this shared pointer does not refer to an object&period; Note that applying this operator conventionally (e&period;g&period;, to invoke a method) to an shared pointer that does not refer to an object will result in undefined behavior&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;sharedptr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ELEMENT&lowbar;TYPE*
operator&hyphen;&gt;() const noexcept;
----


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