Documentation Home >> Headers >> <jss/experimental_atomic.hpp> Header >> std::experimental::shared_ptr >> std::experimental::shared_ptr bool conversion operator

Check whether the std::experimental::shared_ptr has a value.

explicit operator bool() const noexcept;

Returns:

this->get()!=0

Throws:

Nothing.