STD::_LIST_BASE(3cxx)
okay so you opened the std::_List_base< _Tp, _Alloc >(3cxx) page β thatβs the 3cxx manual, libstdc++ bestie, and we are so here for it. π This is a base-class situation, and the explanation tea is in bits/stl_deque.hβs _Deque_base, iykyk.
π NAME π
std::_List_base< _Tp, _Alloc > β See bits/stl_deque.hβs _Deque_base for an explanation. Thatβs the whole vibe: this page points you at _Deque_base, periodt. π
β¨ SYNOPSIS β¨
Bestie, the synopsis is giving include-and-inheritance energy:
#include <list>
- Inherited by
std::list< __inp, __rebind_inp >[protected], andstd::list< _Tp, _Alloc >[protected].
πΈ Public Types πΈ
typedef _Alloc allocator_typeβ allocator type alias, iconic.
π Public Member Functions π
_List_base (_List_base &&)=defaultβ defaulted move constructor, zero notes, clean._List_base (_List_base &&__x, _Node_alloc_type &&__a)β constructor taking_List_base &&__xand_Node_alloc_type &&__a._List_base (_Node_alloc_type &&__a)β constructor taking_Node_alloc_type &&__a._List_base (_Node_alloc_type &&__a, _List_base &&__x)β constructor taking_Node_alloc_type &&__aand_List_base &&__x._List_base (const _Node_alloc_type &__a) noexceptβ constructor takingconst _Node_alloc_type &__a, markednoexcept.void _M_clear () noexceptβ member function_M_clear, markednoexcept.const _Node_alloc_type & _M_get_Node_allocator () const noexceptβ constnoexceptmember function_M_get_Node_allocator, returnsconst _Node_alloc_type &._Node_alloc_type & _M_get_Node_allocator () noexceptβ non-constnoexceptmember function_M_get_Node_allocator, returns_Node_alloc_type &.void _M_init () noexceptβ member function_M_init, markednoexcept.void _M_move_nodes (_List_base &&__x)β member function_M_move_nodestaking_List_base &&__x.
π¦ Protected Types π¦
typedef __gnu_cxx::__alloc_traits< _Node_alloc_type > _Node_alloc_traitsβ alias for_Node_alloc_traits.typedef _Tp_alloc_traits::template rebind< _List_node< _Tp > >::other _Node_alloc_typeβ alias for_Node_alloc_type.typedef __gnu_cxx::__alloc_traits< _Tp_alloc_type > _Tp_alloc_traitsβ alias for_Tp_alloc_traits.typedef __gnu_cxx::__alloc_traits< _Alloc >::template rebind< _Tp >::other _Tp_alloc_typeβ alias for_Tp_alloc_type.
π§ Protected Member Functions π§
void _M_dec_size (size_t)β member function_M_dec_sizetakingsize_t.size_t _M_distance (const void *, const void *) constβ const member function_M_distancetakingconst void *andconst void *, returnssize_t._Node_alloc_traits::pointer _M_get_node ()β member function_M_get_node, returns_Node_alloc_traits::pointer.size_t _M_get_size () constβ const member function_M_get_size, returnssize_t.void _M_inc_size (size_t)β member function_M_inc_sizetakingsize_t.size_t _M_node_count () constβ const member function_M_node_count, returnssize_t.void _M_put_node (typename _Node_alloc_traits::pointer __p) noexceptβ member function_M_put_nodetakingtypename _Node_alloc_traits::pointer __p, markednoexcept.void _M_set_size (size_t)β member function_M_set_sizetakingsize_t.
β Static Protected Member Functions β
static size_t _S_distance (const __detail::_List_node_base *__first, const __detail::_List_node_base *__last)β static protected member function_S_distancetakingconst __detail::_List_node_base *__firstandconst __detail::_List_node_base *__last, returnssize_t.
π Protected Attributes π
_List_impl _M_implβ protected attribute_M_implof type_List_impl.
π Detailed Description π
Okay this is the exact detailed-description block, weird stray quote and all, bestie β copy it exactly, no editing:
template<typename _Tp, typename _Alloc>
class std::_List_base< _Tp, _Alloc >"See bits/stl_deque.h's _Deque_base
for an explanation.
π Author π
Author: Generated automatically by Doxygen for libstdc++ from the source code.
cute sign-off: the footer source/version energy is libstdc+std::_List_base< _Tp, _Alloc >(3cxx) β libstdc++, the 3cxx manual, Doxygen-from-source-code realness, and no separate date line in the original footer. Bye bestie, hydrate and donβt forget your #include <list> π«Άβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms