STD::_LIST_NODE(3cxx)
πΈ NAME πΈ
std::_List_node< _Tp > β bestie, this is literally an actual node in the list. The manual name is std::_List_node< _Tp >(3cxx), and that's the whole vibe.
β¨ SYNOPSIS β¨
First thing you gotta do is bring in the header:
#include <list>
And it inherits std::__detail::_List_node_base. No cap, that's the base-class situation.
π Public Member Functions π
void _M_hook (_List_node_base *const __position) noexceptβ the_M_hookmember function, signature exactly like this, with__positionandnoexceptand everything.void _M_reverse () noexceptβ_M_reverse, no args,noexcept, clean and simple.void _M_transfer (_List_node_base *const __first, _List_node_base *const __last) noexceptβ_M_transfertaking__firstand__last, both_List_node_base *const, and yes it'snoexcept.void _M_unhook () noexceptβ_M_unhook, no args,noexcept._Tp * _M_valptr ()β_M_valptrreturning_Tp *._Tp const * _M_valptr () constβ theconstversion of_M_valptr, returning_Tp const *.
π Static Public Member Functions π
static void swap (_List_node_base &__x, _List_node_base &__y) noexceptβ staticswaptaking two_List_node_base &refs named__xand__y, and it'snoexcept.
π¦ Public Attributes π¦
_List_node_base * _M_nextβ public attribute_M_next, type_List_node_base *._List_node_base * _M_prevβ public attribute_M_prev, type_List_node_base *.__gnu_cxx::__aligned_membuf< _Tp > _M_storageβ public attribute_M_storage, type__gnu_cxx::__aligned_membuf< _Tp >.
π Detailed Description π
template<typename _Tp>
struct std::_List_node< _Tp >
The description is literally: "An actual node in the list." Iconic. Periodt.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
π that's the whole std::_List_node< _Tp >(3cxx) moment, bestie β source/version: libstdc++, and there's no date in the footer so I'm not inventing one. Catch you in the include graph. π«Ά
π¦ 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