__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_pointer
  • typedef const _Tp & const_reference
  • typedef std::ptrdiff_t difference_type
  • typedef _Tp * pointer
  • typedef std::true_type propagate_on_container_move_assignment
  • typedef _Tp & reference
  • typedef std::size_t size_type
  • typedef _Tp value_type

🫢 Public Member Functions 🫢

the public member functions, slay:

  • const_pointer address (const_reference __x) const noexcept
  • pointer address (reference __x) const noexcept
  • template<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 πŸ’…βœ¨.