__GNU_CXX::THROW_ALLOCATOR_LIMIT(3cxx)
β¨ NAME β¨
okay so bestie, this page is __gnu_cxx::throw_allocator_limit< _Tp > from the 3cxx manual β and its whole name is literally Allocator throwing via limit condition. π
No cap, thatβs the vibe: Allocator throwing via limit condition.
π¦ SYNOPSIS π¦
First, the include β copy it exactly:
#include <throw_allocator.h>
It inherits from __gnu_cxx::throw_allocator_base< _Tp, limit_condition >. Iconic inheritance moment. π
π Public Types π
Hereβs the type lineup, all exact and accounted for:
typedef const value_type * const_pointertypedef const value_type & const_referencetypedef std::ptrdiff_t difference_typetypedef value_type * pointertypedef std::true_type propagate_on_container_move_assignmenttypedef value_type & referencetypedef std::size_t size_typetypedef _Tp value_type
π Public Member Functions π
Main-character member functions, coming through exactly as printed:
throw_allocator_limit (const throw_allocator_limit &) noexcepttemplate<typename _Tp1 > throw_allocator_limit (const throw_allocator_limit< _Tp1 > &) noexceptconst_pointer address (const_reference __x) const noexceptpointer address (reference __x) const noexceptpointer allocate (size_type __n, const void *__hint=0)void check (size_t label)void check (size_type __n)void check_allocated (pointer __p, size_type __n)map_alloc_type::iterator check_allocated (void *p, size_t size)void check_constructed (size_t label)map_construct_type::iterator check_constructed (void *p)void construct (_Up *__p, _Args &&... __args)void deallocate (pointer __p, size_type __n)void destroy (_Up *__p)void erase (void *p, size_t size)void erase_construct (void *p)void insert (void *p, size_t size)void insert_construct (void *p)size_type max_size () const noexceptthrow_allocator_limit & operator= (const throw_allocator_limit &)=default
π Static Public Member Functions π
Static besties, all exact:
static void check ()static size_t & count ()static size_t get_label ()static size_t & limit ()static void set_label (size_t l)static void set_limit (const size_t __l)static void throw_conditionally ()
πΈ Detailed Description πΈ
Template shape, literally as printed:
template<typename _Tp>
struct __gnu_cxx::throw_allocator_limit< _Tp >"Allocator throwing via
limit condition.
So yeah β itβs the allocator throwing via limit condition, and thatβs the whole description. Short, sweet, slay. β¨
π Author π
Author: Generated automatically by Doxygen for libstdc++ from the source code.
Source/version: libstd (libstdc++) Β· manual: 3cxx Β· date: not printed in the footer, bestie β so no invented date energy here ππ«Ά
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- 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 questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms