[#BloombergLP-bslstl-SharedPtrArrayAllocateInplaceRep-ptr] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SharedPtrArrayAllocateInplaceRep.adoc[SharedPtrArrayAllocateInplaceRep]::ptr :relfileprefix: ../../../ :mrdocs: Return the address of the modifiable shared object to which this object refers. 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. == Synopsis Declared in `<bslstl_sharedptrallocateinplacerep.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslstl/SharedPtrArrayAllocateInplaceRep/element_type.adoc[SharedPtrArrayAllocateInplaceRep<TYPE, ALLOCATOR>::element_type]* ptr(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#