bsl::shared_ptr::get

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*
get() const noexcept;

Return Value

address of the referred-to object, or 0 if empty