libstdc++
std::_Node_handle< _Value, _Value, _NodeAlloc > Class Template Reference

#include <node_handle.h>

Inheritance diagram for std::_Node_handle< _Value, _Value, _NodeAlloc >:
[legend]

Public Types

using allocator_type
using key_type
using mapped_type
using value_type

Public Member Functions

 _Node_handle (_Node_handle &&) noexcept=default
bool empty () const noexcept
allocator_type get_allocator () const noexcept
key_type & key () const noexcept
mapped_type & mapped () const noexcept
 operator bool () const noexcept
_Node_handle & operator= (_Node_handle &&) noexcept=default
void swap (_Node_handle &__nh) noexcept
value_type & value () const 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
template<typename _Key, typename _Val, typename _KeyOfValue, typename _Compare, typename _Alloc>
class _Rb_tree
void swap (_Node_handle &__x, _Node_handle &__y) noexcept(noexcept(__x.swap(__y)))

Detailed Description

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

Node handle type for sets.

Definition at line 342 of file node_handle.h.

Member Typedef Documentation

◆ allocator_type

using std::_Node_handle_common< _Value, _NodeAlloc >::allocator_type

Definition at line 69 of file node_handle.h.

◆ key_type

using std::_Node_handle< _Value, _Value, _NodeAlloc >::key_type

Definition at line 262 of file node_handle.h.

◆ mapped_type

using std::_Node_handle< _Value, _Value, _NodeAlloc >::mapped_type

Definition at line 263 of file node_handle.h.

◆ value_type

template<typename _Value, typename _NodeAlloc>
using std::_Node_handle< _Value, _Value, _NodeAlloc >::value_type

Definition at line 353 of file node_handle.h.

Member Function Documentation

◆ empty()

bool std::_Node_handle_common< _Value, _NodeAlloc >::empty ( ) const
inlinenodiscardnoexcept

Definition at line 80 of file node_handle.h.

◆ get_allocator()

allocator_type std::_Node_handle_common< _Value, _NodeAlloc >::get_allocator ( ) const
inlinenoexcept

Definition at line 72 of file node_handle.h.

◆ key()

key_type & std::_Node_handle< _Value, _Value, _NodeAlloc >::key ( ) const
inlinenoexcept

Definition at line 266 of file node_handle.h.

◆ mapped()

mapped_type & std::_Node_handle< _Value, _Value, _NodeAlloc >::mapped ( ) const
inlinenoexcept

Definition at line 273 of file node_handle.h.

◆ operator bool()

std::_Node_handle_common< _Value, _NodeAlloc >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 78 of file node_handle.h.

◆ swap()

template<typename _Value, typename _NodeAlloc>
void std::_Node_handle< _Value, _Value, _NodeAlloc >::swap ( _Node_handle< _Value, _Value, _NodeAlloc > & __nh)
inlinenoexcept

Definition at line 363 of file node_handle.h.

◆ value()

template<typename _Value, typename _NodeAlloc>
value_type & std::_Node_handle< _Value, _Value, _NodeAlloc >::value ( ) const
inlinenoexcept

Definition at line 356 of file node_handle.h.

◆ _Hashtable

template<typename _Value, typename _NodeAlloc>
template<typename _Key2, typename _Value2, typename _ValueAlloc, typename _ExtractKey, typename _Equal, typename _Hash, typename _RangeHash, typename _Unused, typename _RehashPolicy, typename _Traits>
friend class _Hashtable
friend

Definition at line 389 of file node_handle.h.

◆ _Rb_tree

template<typename _Value, typename _NodeAlloc>
template<typename _Key, typename _Val, typename _KeyOfValue, typename _Compare, typename _Alloc>
friend class _Rb_tree
friend

Definition at line 383 of file node_handle.h.

◆ swap

template<typename _Value, typename _NodeAlloc>
void swap ( _Node_handle< _Value, _Value, _NodeAlloc > & __x,
_Node_handle< _Value, _Value, _NodeAlloc > & __y )
friend

Definition at line 367 of file node_handle.h.


The documentation for this class was generated from the following file: