public member function
<memory>

std::bad_weak_ptr::what

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

Parameters

none

Return value

"bad_weak_ptr"

See also