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

std::bad_weak_ptr - Exception possibly thrown by shared_ptr.

#include <shared_ptr_base.h>

Inherits std::exception.


virtual char const * what () const noexcept

Exception possibly thrown by shared_ptr.

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.

libstdc++