std::out_of_range(3cxx)
π NAME π
okay bestie, welcome to the 3cxx manual page for std::out_of_range β the main character of this whole page, no cap. π
β¨ SYNOPSIS β¨
#include <stdexcept>
It inherits std::logic_error β yes queen, that's the parent class, periodt. π«Ά
π Public Member Functions π
Here's the full roster, nothing skipped, nothing edited:
out_of_range (const char *) _GLIBCXX_TXN_SAFEout_of_range (const out_of_range &)=defaultout_of_range (const string &__arg) _GLIBCXX_TXN_SAFEout_of_range (out_of_range &&)=defaultout_of_range & operator= (const out_of_range &)=defaultout_of_range & operator= (out_of_range &&)=defaultvirtual const char * what () const noexcept
πΈ Detailed Description πΈ
Real talk: this represents an argument whose value is not within the expected range β the original gives e.g., boundary checks in basic_string as the vibe. π
π¦ Member Function Documentation π¦
π«Ά virtual const char * std::logic_error::what () const [virtual], [noexcept], [inherited] π«Ά
This inherited one returns a C-style character string describing the general cause of the current error β literally the same string passed to the ctor. It's reimplemented from std::exception, and reimplemented in std::future_error. β¨
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Slay, automation. π€β¨
mwah π β source/version: libstdc++; page: std::out_of_range(3cxx); date: the footer doesn't show a separate date here, so I'm not making one up, bestie. π«Ά
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms