[#BloombergLP-bslstl-SharedPtrAllocateInplaceRep-ptr]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SharedPtrAllocateInplaceRep.adoc[SharedPtrAllocateInplaceRep]::ptr
:relfileprefix: ../../../
:mrdocs:

Return the address of the modifiable shared object to which this object refers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TYPE*
ptr();
----

== Description

Note that in order to return a pointer to a modifiable object, this function cannot be `const` qualified as the referenced object is stored internally as a data member&period;

== Return Value

address of the modifiable shared object to which this object refers


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