BloombergLP::bslstl::SharedPtrArrayAllocateInplaceRep::ptr

Return the address of the modifiable shared object to which this object refers.

Synopsis

Declared in <bslstl_sharedptrallocateinplacerep.h>

SharedPtrArrayAllocateInplaceRep<TYPE, ALLOCATOR>::element_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.

Return Value

address of the modifiable shared object to which this object refers