__GNU_CXX::THROW_VALUE_BASE(3cxx)

hey bestie πŸ’– welcome to the 3cxx manual page for __gnu_cxx::throw_value_base< _Cond > β€” yes, that's the full name; the header line up top is just being dramatic and truncated. This one is lowkey a class with exception generation control, intended to be used as a value_type in templatized code. periodt. ✨

🌸 NAME 🌸

__gnu_cxx::throw_value_base< _Cond > β€” class with exception generation control. Intended to be used as a value_type in templatized code. That's the whole vibe check. πŸ’…

✨ SYNOPSIS ✨

#include <throw_allocator.h>

Inherits _Cond. 🫢

πŸŽ€ Public Types πŸŽ€

  • typedef _Cond condition_type β€” the condition type is literally _Cond, no cap.

πŸ’… Public Member Functions πŸ’…

Here’s the exact roster, bestie β€” every signature stays character-for-character:

  • throw_value_base (const std::size_t __i) β€” constructor taking a const std::size_t __i.
  • throw_value_base (const throw_value_base &__v) β€” copy constructor.
  • throw_value_base (throw_value_base &&)=default β€” move constructor, defaulted.
  • throw_value_base & operator++ () β€” the pre-increment operator.
  • throw_value_base & operator= (const throw_value_base &__v) β€” copy assignment.
  • throw_value_base & operator= (throw_value_base &&)=default β€” move assignment, defaulted.

πŸ¦‹ Public Attributes πŸ¦‹

  • std::size_t _M_i β€” the public attribute, exactly that. πŸ“

πŸ’– Detailed Description πŸ’–

template<typename _Cond>
struct __gnu_cxx::throw_value_base< _Cond >

Class with exception generation control. Intended to be used as a value_type in templatized code.

Note: Destructor not allowed to throw. 😭 Keep that caveat close, bestie β€” it’s giving important.

πŸ‘‘ Author πŸ‘‘

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


okay bestie, that’s the whole page πŸ’œ footer check: source/version is the libst bit plus the libstdc++ credit from the Author section, manual 3cxx, and the date? not shown in the original footer, so nothing to clock there. stay iconic, and remember the note: Destructor not allowed to throw 😭🫢