std::bad_weak_ptr - Man Page

Exception possibly thrown by shared_ptr.


#include <memory>

Inherits std::exception.

Public Member Functions

virtual char const * what () const noexcept

Detailed Description

Exception possibly thrown by shared_ptr.

Definition at line 85 of file memory.

Member Function Documentation

virtual char const  * std::bad_weak_ptr::what () const [virtual], [noexcept]

Returns a C-style character string describing the general cause of the current error.

Reimplemented from std::exception.


Generated automatically by Doxygen for libstdc++ from the source code.


Thu Jan 19 2023 libstdc++