bsl::shared_ptr::operator->

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 applying this operator conventionally (e.g., to invoke a method) to an shared pointer that does not refer to an object will result in undefined behavior.

Synopsis

Declared in <bslstl_sharedptr.h>

ELEMENT_TYPE*
operator->() const noexcept;