exception(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸŽ€ exception(3) πŸŽ€

okay so bestie, this is exception(3) from the Library Functions Manual, and we're about to read the exception page together. No cap, it's mostly signatures and one very short description. πŸ’…


✨ NAME ✨

exception -

(yeah, that's the whole NAME section β€” the dash is doing main character energy and there's no description after it πŸ’€)

🌸 SYNOPSIS 🌸

🧸 Classes 🧸

  • class std::bad_exception β€” a class, periodt. That's the whole note. πŸ’–
  • class std::exception β€” base class for all library exceptions. πŸ‘‘

🫢 Namespaces 🫢

  • namespace __gnu_cxx β€” yes, with the double underscore, bestie. ✨
  • namespace std β€” the classic. πŸ’œ

πŸŽ€ Typedefs πŸŽ€

  • typedef void(* std::terminate_handler )() β€” typedef, exactly as written. πŸ’…
  • typedef void(* std::unexpected_handler )() β€” same energy, different handler name. πŸ¦‹

πŸ”₯ Functions πŸ”₯

  • void __gnu_cxx::__verbose_terminate_handler () β€” a function signature, verbatim. πŸ‘‘
  • terminate_handler std::set_terminate (terminate_handler) throw () β€” exactly this, including the throw (). ⭐
  • unexpected_handler std::set_unexpected (unexpected_handler) throw () β€” also with throw (), no cap. 🌈
  • void std::terminate () __attribute__((__noreturn__)) β€” signature with that __attribute__((__noreturn__)) flex. πŸ’€
  • bool std::uncaught_exception () throw () β€” yep, bool, and yes, throw (). πŸ“
  • void std::unexpected () __attribute__((__noreturn__)) β€” another __attribute__((__noreturn__)), iconic. 🧚

πŸ’œ Detailed Description πŸ’œ

This is a Standard C++ Library header. That's the whole vibe. ✨

Definition in file exception. Yup, the file is literally called exception β€” no extension drama. πŸŽ€

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. So it's a Doxygen baby, born from the source. 🫢


okay bye bestie, the footer vibes are libstdc++, 21 Apr 2009, and exception(3) β€” mwah, slay πŸ’‹πŸ’–

πŸ“¦ where this page comes from