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.
Synopsis
Declared in <bslstl_sharedptr.h>
element_type*
ptr() const noexcept;
Description
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. Note that the behavior of this function is the same as get.
DEPRECATED: Use get instead.
Return Value
address of the referred‐to object, or 0 if empty
Created with MrDocs