STD::_FWD_LIST_BASE(3)
π std::_Fwd_list_base< _Tp, _Alloc > π
okay so bestie, welcome to the Library Functions Manual β¨ this one's a deep-lore page about std::_Fwd_list_base< _Tp, _Alloc > β a base class that lives quietly behind the scenes. she's giving backstage-pass energy, not red-carpet energy. iykyk π
β¨ NAME β¨
std::_Fwd_list_base< _Tp, _Alloc > β Base class for forward_list. that's the whole assignment. no more, no less π
πΈ SYNOPSIS πΈ
#include <forward_list>
Inherited by std::forward_list< _Tp, polymorphic_allocator< _Tp > > [private], and std::forward_list< _Tp, _Alloc > [private]. so yeah, the real forward_list girlies inherit from her β privately tho, so don't go telling everyone π
π€ Public Types
const_iteratoriteratorpointer
three type aliases, all public, all cute, all doing their lil job π¦
π οΈ Public Member Functions
_Fwd_list_base (_Fwd_list_base &&)=defaultβ move constructor, defaulted, no notes_Fwd_list_base (_Fwd_list_base &&__lst, _Node_alloc_type &&__a)β move in from another base plus an allocator_Fwd_list_base (_Fwd_list_base &&__lst, _Node_alloc_type &&__a, std::true_type)β same vibe but with astd::true_typetag riding along_Fwd_list_base (_Node_alloc_type &&__a)β just an allocator, that's the whole constructorconst _Node_alloc_type & _M_get_Node_allocator () const noexceptβ hand over the node allocator, const flavored, and she literally cannot throw (noexceptπ)_Node_alloc_type & _M_get_Node_allocator () noexceptβ the non-const twin, alsonoexcept, also serving looks
π Protected Types
_Base_ptr_Node_Node_alloc_traits_Node_alloc_type_Node_ptr_Node_traits
six protected types β these are the family group chat, outsiders not invited π«Ά
π§ Protected Member Functions
template<typename... _Args> _Node_ptr _M_create_node (_Args &&... __args)β variadic template moment, makes a node out of whatever args you throw at her β¨void _M_destroy_node (_Node_ptr __p)β bye bye node, she's gone_Base_ptr _M_erase_after (_Base_ptr __pos)β erase everything after__pos, returns a_Base_ptr_Base_ptr _M_erase_after (_Base_ptr __pos, _Base_ptr __last)β erase the range after__posup to__last, returns a_Base_ptr_Node * _M_get_node ()β gimme a raw_Node *template<typename... _Args> _Base_ptr _M_insert_after (const_iterator __pos, _Args &&... __args)β insert after__pos, variadic args in,_Base_ptrout, very main character πvoid _M_put_node (_Node_ptr __p)β give the node back
π Protected Attributes
_Fwd_list_impl _M_impl
one protected attribute. she holds everything together. the moment. the icon. π
π« DETAILED DESCRIPTION π«
template<typename _Tp, typename _Alloc>
struct std::_Fwd_list_base< _Tp, _Alloc >
Base class for forward_list. periodt. that's the description, that's the tea, that's the whole thing. β
βοΈ AUTHOR βοΈ
Generated automatically by Doxygen for libstdc++ from the source code. so nobody hand-wrote this, the tooling did it, and honestly? slay, queen, automate your documentation π
and that's a wrap on this one, bestie β brought to you by the libstdc++ girlies, straight out of the Library Functions Manual, generated by Doxygen from the source code. go forth and forward_list responsibly π
β¨
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms