Documentation Home >> Headers >> <jss/experimental_atomic.hpp> Header >> std::experimental::shared_ptr >> std::experimental::shared_ptr::get member function

Retrieves the pointer stored in a std::experimental::shared_ptr instance.

T* get() const noexcept;

Returns:

The pointer stored in *this.

Throws:

Nothing.

Header

#include <experimental/atomic>

See Also