__GNU_CXX::ARRAY_ALLOCATOR_BASE(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

okay bestie πŸ’… welcome to the __gnu_cxx:...ocator_base(3) page from the Library Functions Manual β€” yes, the manual name is folded in right here, and we're talking about __gnu_cxx::array_allocator_base. This one is short but iconic, so let's not blink.


πŸ’– NAME πŸ’–

__gnu_cxx::array_allocator_base β€” Base class.

✨ SYNOPSIS ✨

okay so here's the exact roster, no cap. Copy these signatures character-for-character, bestie:

   Public Types
       typedef const _Tp * const_pointer
       typedef const _Tp & const_reference
       typedef ptrdiff_t difference_type
       typedef _Tp * pointer
       typedef _Tp & reference
       typedef size_t size_type
       typedef _Tp value_type

   Public Member Functions
       const_pointer address (const_reference __x) const
       pointer address (reference __x) const
       template<typename... _Args> void construct (pointer __p, _Args
           &&...__args)
       void construct (pointer __p, const _Tp &__val)
       void deallocate (pointer, size_type)
       void destroy (pointer __p)
       size_type max_size () const   throw ()

🌈 Public Types 🌈

The type aliases are literally exactly the ones above: const_pointer, const_reference, difference_type, pointer, reference, size_type, and value_type. No substitutions, no "close enough" β€” _Tp stays _Tp. 🫢

πŸ¦‹ Public Member Functions πŸ¦‹

The member functions are the whole lineup above: two address overloads, two construct overloads (one template with _Args, one taking const _Tp &__val), deallocate, destroy, and max_size with its throw (). That's the roster the page gives us β€” and yes, max_size () const throw () is written exactly like that. πŸ’€

🌸 Detailed Description 🌸

The class shape is:

template<typename _Tp> class __gnu_cxx::array_allocator_base< _Tp >

Base class. That's the official vibe. ✨

Definition at line 46 of file array_allocator.h.

πŸ‘‘ Author πŸ‘‘

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


mwah πŸ’‹ β€” this cutie is from libstdc++, dated 21 Apr 2009, and the page tag is __gnu_cxx:...ocator_base(3).

πŸ“¦ where this page comes from