__GNU_CXX::__MT_ALLOC_BASE(3cxx)
πΈ NAME πΈ
okay so bestie, welcome to the 3cxx manual page for __gnu_cxx::__mt_alloc_base< _Tp > β yes, that's the whole title vibe, folded in right here instead of copy-pasting the header line β¨.
The name line is literally this: __gnu_cxx::__mt_alloc_base< _Tp > β "Base class for _Tp dependent member functions." iconic little base-class moment, no cap π
.
β¨ SYNOPSIS β¨
First up, the include is:
#include <mt_allocator.h>
And it's inherited by __gnu_cxx::__mt_alloc< _Tp, _Poolp >. β that's the whole inheritance flex, periodt π«Ά.
π Public Types π
the public typedefs are giving main character energy, and every single one is getting its moment:
typedef const _Tp * const_pointertypedef const _Tp & const_referencetypedef std::ptrdiff_t difference_typetypedef _Tp * pointertypedef std::true_type propagate_on_container_move_assignmenttypedef _Tp & referencetypedef std::size_t size_typetypedef _Tp value_type
π«Ά Public Member Functions π«Ά
the public member functions, slay:
const_pointer address (const_reference __x) const noexceptpointer address (reference __x) const noexcepttemplate<typename _Up , typename... _Args> void construct (_Up *__p, _Args &&... __args)template<typename _Up > void destroy (_Up *__p)size_type max_size () const noexcept
π¦ Detailed Description π¦
The template setup is right here:
template<typename _Tp>
class __gnu_cxx::__mt_alloc_base< _Tp >
And the description is literally: "Base class for _Tp dependent member functions." short, sweet, base-class realness π.
π Author π
Author: Generated automatically by Doxygen for libstdc++ from the source code.
cute sign-off time π«Ά: the footer source/version line is libst__gnu_cxx::__mt_alloc_base< _Tp >(3cxx) β that's the exact footer energy β and there's literally no date on this page, so we're not inventing one, fr fr π
β¨.
π¦ 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