public member function

std::bad_weak_ptr::what

<memory>
const char* what() const noexcept;
Get message associated to exception
Returns "bad_weak_ptr".

Parameters

none

Return value

"bad_weak_ptr"

See also