public member function
<memory>

std:: bad_weak_ptr::what

const char* what() const noexcept;
获取与异常关联的消息
返回值"bad_weak_ptr".

参数



返回值

"bad_weak_ptr"

另见