STD::_NODE_HANDLE(3cxx)

πŸ’– NAME πŸ’–

Okay bestie, this is the 3cxx manual page for std::_Node_handle< _Key, _Value, _NodeAlloc > β€” literally the node handle type for maps. The top header is the truncated std::_Node_han...e, _NodeAlloc >(3cxx), so if that’s what you saw, you’re in the right place. Periodt. ✨

✨ SYNOPSIS ✨

#include <set>

Inherits std::_Node_handle_common< _Value, _NodeAlloc >. That’s the family tree, no cap. 🫢

πŸŽ€ Public Types πŸŽ€

  • using allocator_type = __alloc_rebind< _NodeAlloc, _Value > β€” allocator type, rebinding _NodeAlloc to _Value.
  • using key_type = _Key β€” key type is _Key, simple as that.
  • using mapped_type = typename _Value::second_type β€” mapped type comes from _Value::second_type.

πŸ’… Public Member Functions πŸ’…

  • _Node_handle (_Node_handle &&) noexcept=default β€” move constructor, defaulted and noexcept.
  • bool empty () const noexcept β€” returns bool, const noexcept.
  • allocator_type get_allocator () const noexcept β€” returns allocator_type, const noexcept.
  • key_type & key () const noexcept β€” returns key_type &, const noexcept.
  • mapped_type & mapped () const noexcept β€” returns mapped_type &, const noexcept.
  • operator bool () const noexcept β€” bool conversion operator, const noexcept.
  • _Node_handle & operator= (_Node_handle &&) noexcept=default β€” move assignment, defaulted and noexcept.
  • void swap (_Node_handle &__nh) noexcept β€” swaps with __nh, noexcept.

🫢 Friends 🫢

  • template<typename _Key2 , typename _Value2 , typename _ValueAlloc , typename _ExtractKey , typename _Equal , typename _Hash , typename _RangeHash , typename _Unused , typename _RehashPolicy , typename _Traits > class _Hashtable β€” friend class _Hashtable.
  • template<typename _Key2 , typename _Value2 , typename _KeyOfValue , typename _Compare , typename _ValueAlloc > class _Rb_tree β€” friend class _Rb_tree.
  • void swap (_Node_handle &__x, _Node_handle &__y) noexcept(noexcept(__x.swap(__y))) β€” friend swap for two _Node_handles.

πŸ”₯ Detailed Description πŸ”₯

template<typename _Key, typename _Value, typename _NodeAlloc>
class std::_Node_handle< _Key, _Value, _NodeAlloc >

The description is literally "Node handle type for maps. β€” stray opening quote and all β€” and it means exactly what it says: node handle type for maps. That’s the whole vibe. πŸ’€

πŸ‘‘ Author πŸ‘‘

Author: Generated automatically by Doxygen for libstdc++ from the source code. No human author to tag, just Doxygen doing its thing. 🧚


Okay that’s the page, bestie πŸ«ΆπŸ’– The footer line is libstdstd::_Node_han...e, _NodeAlloc >(3cxx); source/version is libstdc++ (Doxygen-generated from the source code), and the provided footer doesn’t show a separate date β€” so no invented date, periodt. 🌈

πŸ“¦ where this page comes from