__gnu_cxx::forced_error(3cxx)
πΈ NAME πΈ
__gnu_cxx::forced_error β bestie, this is the exception that gets thrown by utilities for testing exception safety. Also hi, this is the 3cxx manual page, welcome to the group chat π
β¨
β¨ SYNOPSIS β¨
#include <throw_allocator.h>
Inherits std::exception. No cap.
π Public Member Functions π
virtual const char * what () const noexceptβ this is the public member function listed here, and yes it's giving very "ask me what went wrong" energy π«Ά
π¦ Detailed Description π¦
Thrown by utilities for testing exception safety. That's the whole assignment, and it ate πβ¨
π Member Function Documentation π
π
virtual const char * std::exception::what () const [virtual], [noexcept], [inherited] π
Returns a C-style character string describing the general cause of the current error. Literally the "so what happened?" function, bestie π
Reimplemented in:
std::ios_base::failurestd::bad_allocstd::filesystem::filesystem_errorstd::bad_weak_ptrstd::bad_function_callstd::experimental::fundamentals_v1::bad_any_caststd::experimental::filesystem::v1::filesystem_errorstd::future_errorstd::logic_errorstd::runtime_errorstd::bad_exceptionstd::bad_caststd::bad_typeid
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. So no human author to tag β Doxygen did that, and honestly slay for being automatic π§π
okay bye bestie π¦ the footer vibe is source/version libstdc++ and the page is __gnu_cxx::forced_error(3cxx); there's no date printed in that footer, so I'm not inventing one β periodt πβ¨
π¦ where this page comes from
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms