Scroll to navigation

std::__detail::_Insert_base< _Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits >(3cxx) std::__detail::_Insert_base< _Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits >(3cxx)

NAME

std::__detail::_Insert_base< _Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits >

SYNOPSIS

Inherited by std::__detail::_Insert< _Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, false >, and std::__detail::_Insert< _Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits, true >.

Public Types


using __ireturn_type = typename std::conditional< __unique_keys::value, std::pair< iterator, bool >, iterator >::type
using const_iterator = _Node_const_iterator< _Value, __constant_iterators::value, __hash_cached::value >
using iterator = _Node_iterator< _Value, __constant_iterators::value, __hash_cached::value >

Public Member Functions


template<typename _InputIterator > void insert (_InputIterator __first, _InputIterator __last)
__ireturn_type insert (const value_type &__v)
iterator insert (const_iterator __hint, const value_type &__v)
void insert (initializer_list< value_type > __l)
template<typename _KType , typename... _Args> std::pair< iterator, bool > try_emplace (const_iterator, _KType &&__k, _Args &&... __args)

Protected Types


using __constant_iterators = typename _Traits::__constant_iterators
using __hash_cached = typename _Traits::__hash_cached
using __hashtable = _Hashtable< _Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits >
using __hashtable_alloc = _Hashtable_alloc< __alloc_rebind< _Alloc, _Hash_node< _Value, __hash_cached::value > >>
using __hashtable_base = _Hashtable_base< _Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits >
using __node_alloc_type = typename __hashtable_alloc::__node_alloc_type
using __node_gen_type = _AllocNode< __node_alloc_type >
using __unique_keys = typename _Traits::__unique_keys
using size_type = typename __hashtable_base::size_type
using value_type = typename __hashtable_base::value_type

Protected Member Functions


__hashtable & _M_conjure_hashtable ()
template<typename _InputIterator , typename _NodeGetter > void _M_insert_range (_InputIterator __first, _InputIterator __last, const _NodeGetter &, false_type __uks)
template<typename _InputIterator , typename _NodeGetter > void _M_insert_range (_InputIterator __first, _InputIterator __last, const _NodeGetter &, true_type __uks)

Detailed Description

template<typename _Key, typename _Value, typename _Alloc, typename _ExtractKey, typename _Equal, typename _Hash, typename _RangeHash, typename _Unused, typename _RehashPolicy, typename _Traits>

struct std::__detail::_Insert_base< _Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits >" Primary class template _Insert_base.

Defines insert member functions appropriate to all _Hashtables.

Definition at line 788 of file hashtable_policy.h.

Author

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

Thu Nov 18 2021 libstdc++