Template Class unordered_map¶
Defined in File unordered_map.hpp
Class Documentation¶
-
template<class
Key, classT, classHash= std::hash<Key>, classPred= std::equal_to<Key>, classAllocator= std::allocator<std::pair<const Key, T>>>
classuitsl::safe::unordered_map¶ Public Types
-
using
allocator_type= typename impl_t::allocator_type¶
-
using
const_iterator= typename impl_t::const_iterator¶
-
using
const_local_iterator= typename impl_t::const_local_iterator¶
-
using
insert_return_type= typename impl_t::insert_return_type¶
-
using
iterator= typename impl_t::iterator¶
-
using
key_type= typename impl_t::key_type¶
-
using
local_iterator= typename impl_t::local_iterator¶
-
using
mapped_type= typename impl_t::mapped_type¶
-
using
node_type= typename impl_t::node_type¶
-
using
size_type= typename impl_t::size_type¶
-
using
value_type= typename impl_t::value_type¶
Public Functions
-
unordered_map &
operator=(const unordered_map &arg)¶
-
unordered_map &
operator=(unordered_map &&arg) noexcept(value&&is_nothrow_move_assignable_v<Hash> &&is_nothrow_move_assignable_v<Pred>)¶
-
unordered_map &
operator=(std::initializer_list<value_type> arg)¶
-
allocator_type
get_allocator() const noexcept¶
-
const_iterator
begin() const noexcept¶
-
const_iterator
end() const noexcept¶
-
const_iterator
cbegin() const noexcept¶
-
const_iterator
cend() const noexcept¶
-
bool
empty() const noexcept¶
-
template<class ...
Args>
iteratoremplace_hint(const_iterator position, Args&&... args)¶
-
std::pair<iterator, bool>
insert(const value_type &obj)¶
-
std::pair<iterator, bool>
insert(value_type &&obj)¶
-
iterator
insert(const_iterator hint, const value_type &obj)¶
-
iterator
insert(const_iterator hint, value_type &&obj)¶
-
template<class
P>
iteratorinsert(const_iterator hint, P &&obj)¶
-
void
insert(std::initializer_list<value_type> arg)¶
-
node_type
extract(const_iterator position)¶
-
insert_return_type
insert(node_type &&nh)¶
-
iterator
insert(const_iterator hint, node_type &&nh)¶
-
template<class ...
Args>
iteratortry_emplace(const_iterator hint, const key_type &k, Args&&... args)¶
-
template<class ...
Args>
iteratortry_emplace(const_iterator hint, key_type &&k, Args&&... args)¶
-
template<class
M>
iteratorinsert_or_assign(const_iterator hint, const key_type &k, M &&obj)¶
-
template<class
M>
iteratorinsert_or_assign(const_iterator hint, key_type &&k, M &&obj)¶
-
iterator
erase(const_iterator position)¶
-
iterator
erase(const_iterator first, const_iterator last)¶
-
void
swap(unordered_map &arg) noexcept(value&&is_nothrow_swappable_v<Hash> &&is_nothrow_swappable_v<Pred>)¶
-
void
clear() noexcept¶
-
template<class
H2, classP2>
voidmerge(std::unordered_multimap<Key, T, H2, P2, Allocator> &&source)¶
-
const_iterator
find(const key_type &k) const¶
-
template<class
K>
const_iteratorfind(const K &k) const¶
-
std::pair<const_iterator, const_iterator>
equal_range(const key_type &k) const¶
-
template<class
K>
std::pair<const_iterator, const_iterator>equal_range(const K &k) const¶
-
mapped_type &
operator[](const key_type &k)¶
-
mapped_type &
operator[](key_type &&k)¶
-
mapped_type &
at(const key_type &k)¶
-
const mapped_type &
at(const key_type &k) const¶
-
local_iterator
begin(size_type n)¶
-
const_local_iterator
begin(size_type n) const¶
-
local_iterator
end(size_type n)¶
-
const_local_iterator
end(size_type n) const¶
-
const_local_iterator
cbegin(size_type n) const¶
-
const_local_iterator
cend(size_type n) const¶
-
float
load_factor() const noexcept¶
-
float
max_load_factor() const noexcept¶
-
void
max_load_factor(float z)¶
-
using