STD::_FWD_LIST_NODE(3)
π std::_Fwd_...ode< _Tp >(3) π
okay bestie, welcome to the Library Functions Manual section of the libstdc++ docs β this one's about a little template struct called std::_Fwd_list_node< _Tp >, and yes it's a helper, and yes helpers deserve love too π«Ά
β¨ NAME β¨
std::_Fwd_list_node< _Tp > β a helper node class for forward_list. That's literally it: this is just a linked list with uninitialized storage for a data value in each node. There is a sorting utility method. slay πΈ
β¨ SYNOPSIS β¨
#include <forward_list>
Inherits std::_Fwd_list_node_base. (yes bestie, it's giving inheritance, main character energy π)
π Public Types
using _Base_ptrβ a type alias, cute, defined πusing _Node_ptrβ another type alias, also defined π
π Public Member Functions
_Fwd_list_node_base * _M_base_ptr ()β hands you back a_Fwd_list_node_base *const _Fwd_list_node_base * _M_base_ptr () constβ the const version, for when you're being β¨respectfulβ¨_Node_ptr _M_node_ptr ()β gives you a_Node_ptrvoid _M_reverse_after () noexceptβ reverses stuff, and it'snoexceptso it will NOT be throwing hands π€_Fwd_list_node_base * _M_transfer_after (_Fwd_list_node_base *__begin, _Fwd_list_node_base *__end) noexceptβ transfers things after, takes__beginand__end, alsonoexcept, also not throwing, periodtconst _Tp * _M_valptr () const noexceptβ const pointer to the value,noexceptπ_Tp * _M_valptr () noexceptβ non-const pointer to the value,noexceptπ
π Public Attributes
_Fwd_list_node_base * _M_nextβ the next-node pointer, iconic, essential, cannot be skipped π₯__gnu_cxx::__aligned_buffer< _Tp > _M_storageβ the aligned buffer where the value lives (uninitialized, remember, it's a whole thing) π¦
β¨ Detailed Description β¨
template<typename _Tp>
struct std::_Fwd_list_node< _Tp >
okay so, direct quote energy: "A helper node class for forward_list. This is just a linked list with uninitialized storage for a data value in each node. There is a sorting utility method." β that's the whole vibe, that's the tea β no cap.
lowkey important: that storage is uninitialized. Nobody set it up for you. It's just space, waiting. Don't go reading it like it's a real value, bestie π
β¨ Author β¨
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, just a little bot doing its thing, and honestly? It ate. π€β¨
and that's the page!! this whole thing lives in the libstdc++ docs, and it was generated by Doxygen from the source code, so if you ever need to cite it, that's your source, bestie. 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