std::__det...ode_header(3)

πŸ’– std::__detail::_List_node_header πŸ’–

okay bestie, welcome to the manual page for std::__detail::_List_node_header β€” she lives in the <list> world, she's the list node header, and she is literally the backbone of your linked list's vibes. this is from the Library Functions Manual, and we're gonna go through it together, no cap. πŸŽ€


✨ SYNOPSIS ✨

#include <list>

Inherits std::__detail::_List_node_base.

the way that she just inherits from _List_node_base like it's nothing… queen behavior, honestly. πŸ‘‘


🌸 Public Types

  • typedef _List_node_base * _Base_ptr β€” bestie this is just a pointer type, aliased to _List_node_base *. that's it. that's the type. slay. ✨

πŸ¦‹ Public Member Functions

  • _List_node_header(_List_node_header &&__x) noexcept β€” move constructor, noexcept so she's lowkey not gonna throw at you. she's taking __x and moving right along. πŸ’…
  • _List_node_base * _M_base() β€” hands you back a _List_node_base *. non-const version, for when you wanna do things.
  • const _List_node_base * _M_base() const β€” the const version, for when you're just looking respectfully. πŸ™ˆ
  • void _M_hook(_List_node_base *const __position) noexcept β€” hooks this node in at __position. no throw, all business. πŸ”₯
  • void _M_init() noexcept β€” initializes. noexcept. iconic. ✨
  • void _M_move_nodes(_List_node_header &&__x) β€” moves the nodes from __x over here. it's giving relocation, it's giving fresh start. πŸ¦‹
  • void _M_reverse() noexcept β€” reverses stuff. noexcept. periodt. πŸ’…
  • void _M_transfer(_List_node_base *const __first, _List_node_base *const __last) noexcept β€” transfers the range from __first to __last. noexcept, so you can trust her. 🫢
  • void _M_unhook() noexcept β€” undoes the hook. unhooked and unbothered. noexcept. πŸ’œ

πŸ‘‘ Static Public Member Functions

  • static void swap(_List_node_base &__x, _List_node_base &__y) noexcept β€” swaps __x and __y. it's static, it's noexcept, it's a whole mood. πŸŽ€

🌈 Public Attributes

  • _List_node_base * _M_next β€” the next pointer, bestie. the one that knows where we're going. ⭐
  • _List_node_base * _M_prev β€” the prev pointer. she knows where we came from. πŸ’–
  • size_t _M_size β€” the size. the count. the receipts. size_t, so she's got range. 😌

πŸ“ Detailed Description

The list node header.

that's the whole thing, bestie. she is the list node header. main character energy, no notes. πŸ’…βœ¨


🧚 Author

Generated automatically by Doxygen for libstdc++ from the source code.

not me getting emotional over an auto-generated Doxygen blurb 😭 it's literally just Doxygen doing its little thing for libstdc++ from the source code. respect the process.

and that's the page, bestie! 🫢 this whole thing ships as part of libstdc++, and the footer at the bottom just said libstdc++ with std::__det...ode_header(3) β€” no fancy date, just the lib and the name, cute and simple. go forth and <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