DOKK / manpages / debian 13 / libstdc++-13-doc / std::bad_weak_ptr.3cxx.en
std::bad_weak_ptr(3cxx) std::bad_weak_ptr(3cxx)

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.

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++