std::bad_weak_ptr(3) Library Functions Manual std::bad_weak_ptr(3)

std::bad_weak_ptr - Exception possibly thrown by shared_ptr.

#include <memory>

Inherits std::exception.


virtual char const * what () const noexcept

Exception possibly thrown by shared_ptr.

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.

libstdc++