__gnu_pbds::insert_error(3cxx)
π __gnu_pbds::insert_error
okay so this is the 3cxx manual page for __gnu_pbds::insert_error, bestie β buckle up, it's a tiny one but she's important π
πΈ NAME πΈ
__gnu_pbds::insert_error β an entry cannot be inserted into a container object for logical reasons (not, e.g., if memory is unabvailable, in which case the allocator_type's exception will be thrown). No cap, that's the whole vibe: logical insert fail, not memory fail β¨
β¨ SYNOPSIS β¨
#include <exception.hpp>
Inherits __gnu_pbds::container_error.
π Public Member Functions π
virtual const char * what () const noexceptβ the one public member function, and she'snoexceptπ
π¦ Detailed Description π¦
Okay so picture this: an entry cannot be inserted into a container object for logical reasons β not, e.g., if memory is unabvailable, in which case the allocator_type's exception will be thrown. That's the whole deal, bestie. It's giving "the container said no for logic reasons, not because it ran out of memory" energy π₯
π Member Function Documentation π
π virtual const char * std::logic_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). Literally the same string, iykyk π«Ά
Reimplemented from std::exception.
Reimplemented in std::future_error.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Slay, automation πβ¨
sign-off time: source/version is libstdc++, page is __gnu_pbds::insert_error(3cxx). The footer doesn't give a date, so I'm not making one up, bestie β and that's on periodt ππ
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- 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