std::range_error(3cxx)

πŸ’– std::range_error πŸ’–

okay so bestie, this is the std::range_error page from the 3cxx manual β€” and yes, she is a whole icon in the C++ exception family. πŸ’…

🌸 NAME 🌸

std::range_error

✨ SYNOPSIS ✨

#include <stdexcept>

Inherits std::runtime_error. πŸ’–

πŸŽ€ Public Member Functions πŸŽ€

  • range_error (const char *) _GLIBCXX_TXN_SAFE
  • range_error (const range_error &)=default
  • range_error (const string &__arg) _GLIBCXX_TXN_SAFE
  • range_error (range_error &&)=default
  • range_error & operator= (const range_error &)=default
  • range_error & operator= (range_error &&)=default
  • virtual const char * what () const noexcept

🌈 Detailed Description 🌈

Thrown to indicate range errors in internal computations. 🫢

πŸ‘‘ Member Function Documentation πŸ‘‘

πŸ¦‹ virtual const char * std::runtime_error::what () const [virtual], [noexcept], [inherited]

Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor). ✨

Reimplemented from std::exception.

Reimplemented in std::filesystem::filesystem_error, and std::experimental::filesystem::v1::filesystem_error.

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for libstdc++ from the source code.


sign-off time, bestie πŸ§šπŸ’œ: this cutie came from the libstdc++ footer on the std::range_error(3cxx) page β€” and ngl, there’s no date printed in that footer, so I’m not gonna invent one fr fr. πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from