Manpages - std__Node_handle.3

Table of Contents

NAME

std::_Node_handle< _Key, _Value, _NodeAlloc > - Node handle type for maps.

SYNOPSIS


#include <node_handle.h>

Inherits std::_Node_handle_common< _Value, _NodeAlloc >.

Public Types

using allocator_type = __alloc_rebind< _NodeAlloc, _Value >

using key_type = _Key

using mapped_type = typename _Value::second_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

Protected Member Functions

void _M_swap (_Node_handle_common &__nh) noexcept

Protected Attributes

_AllocTraits::pointer _M_ptr

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 _Key2 , typename _Value2 , typename _KeyOfValue , typename _Compare , typename _ValueAlloc > class _Rb_tree

void swap (_Node_handle &__x, _Node_handle &__y) noexcept(noexcept(__x.swap(__y)))

Detailed Description

“template<typename _Key, typename _Value, typename _NodeAlloc>


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

Definition at line 221 of file node_handle.h.

Member Typedef Documentation

using *std::_Node_handle_common*< _Value , _NodeAlloc

>::allocator_type = __alloc_rebind<_NodeAlloc, _Value >= [inherited]= Definition at line 54 of file node_handle.h.

template<typename _Key , typename _Value , typename _NodeAlloc >

using std::_Node_handle*< _Key, _Value, _NodeAlloc >::key_type = _Key Definition at line *231 of file node_handle.h.

template<typename _Key , typename _Value , typename _NodeAlloc >

using std::_Node_handle*< _Key, _Value, _NodeAlloc >::mapped_type = typename _Value::second_type Definition at line *232 of file node_handle.h.

Member Function Documentation

void *std::_Node_handle_common*< _Value , _NodeAlloc >::_M_swap

(_Node_handle_common*< _Value, _NodeAlloc > & __nh)= [inline]=, = [protected]=, = [noexcept]=, = [inherited]= Definition at line *114 of file node_handle.h.

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

const= [inline]=, = [noexcept]=, = [inherited]= Definition at line 65 of file node_handle.h.

allocator_type *std::_Node_handle_common*< _Value , _NodeAlloc

>::get_allocator () const= [inline]=, = [noexcept]=, = [inherited]= Definition at line 57 of file node_handle.h.

template<typename _Key , typename _Value , typename _NodeAlloc >

key_type & std::_Node_handle*< _Key, _Value, _NodeAlloc >::key () const= [inline]=, = [noexcept]= Definition at line *235 of file node_handle.h.

template<typename _Key , typename _Value , typename _NodeAlloc >

mapped_type & std::_Node_handle*< _Key, _Value, _NodeAlloc >::mapped () const= [inline]=, = [noexcept]= Definition at line *242 of file node_handle.h.

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

const= [inline]=, = [explicit]=, = [noexcept]=, = [inherited]= Definition at line 63 of file node_handle.h.

template<typename _Key , typename _Value , typename _NodeAlloc > void

std::_Node_handle*< _Key, _Value, _NodeAlloc >::swap (*_Node_handle*< _Key, _Value, _NodeAlloc > & __nh)= [inline]=, = [noexcept]= Definition at line *249 of file node_handle.h.

Friends And Related Function Documentation

template<typename _Key , 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 *306 of file node_handle.h.

template<typename _Key , typename _Value , typename _NodeAlloc >

template<typename _Key2 , typename _Value2 , typename _KeyOfValue , typename _Compare , typename _ValueAlloc > friend class _Rb_tree= [friend]= Definition at line 300 of file node_handle.h.

template<typename _Key , typename _Value , typename _NodeAlloc > void

swap (_Node_handle*< _Key, _Value, _NodeAlloc > & __x, *_Node_handle*< _Key, _Value, _NodeAlloc > & __y)= [friend]= Definition at line *258 of file node_handle.h.

Member Data Documentation

_AllocTraits::pointer *std::_Node_handle_common*< _Value ,

_NodeAlloc >::_M_ptr= [protected]=, = [inherited]= Definition at line 156 of file node_handle.h.

Author

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

Author: dt

Created: 2022-02-21 Mon 11:26