__gnu_pbds::resize_error(3cxx)

okay so welcome to the __gnu_pbds::resize_error page from the 3cxx manual β€” she’s giving exception-page main character energy πŸ’…βœ¨

✨ NAME ✨

__gnu_pbds::resize_error β€” bestie, this one means a container cannot be resized. That’s the whole vibe: container resize? not happening, no cap 🫢

πŸŽ€ SYNOPSIS πŸŽ€

Here’s the include and the inheritance tea β˜•:

#include <exception.hpp>

Inherits __gnu_pbds::container_error.

πŸ¦‹ Public Member Functions πŸ¦‹

  • virtual const char * what () const noexcept β€” the member function on deck, fr fr πŸ‘‘

🌸 Detailed Description 🌸

Lowkey the whole point: a container cannot be resized 😭. That’s the description, and she said it plainly.

πŸ’– Member Function Documentation πŸ’–

virtual const char * std::logic_error::what () const [virtual],  [noexcept], [inherited]

okay so this inherited icon 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::future_error.

πŸ’œ Author πŸ’œ

bestie, this page was Generated automatically by Doxygen for libstdc++ from the source code. No cap 🫢


sign-off time πŸŽ€: source/version is libstdc++, the page is __gnu_pbds::resize_error(3cxx), and the footer has no date on it, so I’m not inventing one β€” periodt πŸ˜­πŸ’–