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

Return a reference providing modifiable access to the object referred to by this shared pointer&period; The behavior is undefined unless this shared pointer refers to an object, and `ELEMENT&lowbar;TYPE` is not (potentially `const` or `volatile` qualified) `void`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
add&lowbar;lvalue&lowbar;reference&lt;ELEMENT&lowbar;TYPE&gt;::type
operator&ast;() const noexcept;
----


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