STD::_NODE_HANDLE(3)

πŸ“¦
version 16.2.1 Β· 4 versions
, in centos-stream 9

πŸ’– NAME

std::_Node_handle< _Key, _Value, _NodeAlloc > β€” bestie, it’s literally the Node handle type for maps. That’s the name, that’s the vibe, periodt. πŸ’…


✨ SYNOPSIS

Okay so this class inherits std::_Node_handle_common< _Value, _NodeAlloc >. Iconic lineage behavior. ✨

πŸŽ€ Public Types

  • using allocator_type = __alloc_rebind< _NodeAlloc, _Value > β€” the allocator type alias, exactly as written, no cap.
  • using key_type = _Key β€” the key type alias, slay.
  • using mapped_type = typename _Value::second_type β€” the mapped type alias, keep it cute and keep it exact.

πŸ’… Public Member Functions

  • _Node_handle (_Node_handle &&) noexcept=default β€” constructor signature, defaulted and noexcept, exactly this.
  • bool empty () const noexcept β€” a const noexcept method signature, preserved character for character.
  • allocator_type get_allocator () const noexcept β€” another const noexcept method signature, right on.
  • key_type & key () const noexcept β€” const noexcept method returning key_type &, yes bestie.
  • mapped_type & mapped () const noexcept β€” const noexcept method returning mapped_type &, exactly as listed.
  • operator bool () const noexcept β€” the const noexcept operator signature, no edits.
  • _Node_handle & operator= (_Node_handle &&) noexcept=default β€” assignment operator signature, defaulted and noexcept, periodt.
  • void swap (_Node_handle &__nh) noexcept β€” member swap, noexcept, exactly this signature.

πŸ¦‹ Friends

  • template<typename _Key2 , typename _Value2 , typename _ValueAlloc , typename _ExtractKey , typename _Equal , typename _Hash , typename _RangeHash , typename _Unused , typename _RehashPolicy , typename _Traits > class _Hashtable β€” the _Hashtable friend template, verbatim, don’t touch a single space.
  • template<typename _Key2 , typename _Value2 , typename _KeyOfValue , typename _Compare , typename _ValueAlloc > class _Rb_tree β€” the _Rb_tree friend template, also verbatim.
  • void swap (_Node_handle &__x, _Node_handle &__y) noexcept(noexcept(__x.swap(__y))) β€” the friend swap, with its noexcept(noexcept(__x.swap(__y))) energy fully intact. πŸ”₯

🌸 Detailed Description

Here’s the class template, exactly as given β€” including that little >" moment after the class name, because we do not β€œfix” the source, bestie:

template<typename _Key, typename _Value, typename _NodeAlloc>
    class std::_Node_handle< _Key, _Value, _NodeAlloc >" Node handle type
    for maps.

Node handle type for maps. That’s the whole summary, and it ate. 🫢


πŸ‘‘ Author

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

This page’s source/version is libstdc++, and the date on it is Wed Oct 7 2026 β€” mwah, bye bestie! πŸ«ΆπŸ’œπŸŽ€

πŸ“¦ where this page comes from
  • centos-stream 9: gcc-toolset-15-libstdc++-docs 15.2.1-7.3.el9 Β· 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
  • centos-stream 9: gcc-toolset-16-libstdc++-docs 16.2.1-1.3.el9 Β· 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
  • centos-stream 9: libstdc++-docs 11.5.0-16.el9 Β· GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms