template <class Policy, class Hash, class Eq, class Alloc>
class raw_hash_map
Defined at line 33 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
Public Methods
void raw_hash_map<Policy, Hash, Eq, Alloc> ()
Defined at line 64 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class V = mapped_type, K* = nullptr, V* = nullptr>
std::pair<iterator, bool> insert_or_assign (key_arg<K> && k, V && v)
The last two template parameters ensure that both arguments are rvalues
(lvalue arguments are handled by the overloads below). This is necessary
for supporting bitfield arguments.
union { int n : 1; };
flat_hash_map
<int
, int> m;
m.insert_or_assign(n, n);
Defined at line 76 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class V = mapped_type, K* = nullptr>
std::pair<iterator, bool> insert_or_assign (key_arg<K> && k, const V & v)
Defined at line 82 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class V = mapped_type, V* = nullptr>
std::pair<iterator, bool> insert_or_assign (const key_arg<K> & k, V && v)
Defined at line 88 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class V = mapped_type>
std::pair<iterator, bool> insert_or_assign (const key_arg<K> & k, const V & v)
Defined at line 94 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class V = mapped_type, K* = nullptr, V* = nullptr>
iterator insert_or_assign (const_iterator , key_arg<K> && k, V && v)
Defined at line 101 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class V = mapped_type, K* = nullptr>
iterator insert_or_assign (const_iterator , key_arg<K> && k, const V & v)
Defined at line 107 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class V = mapped_type, V* = nullptr>
iterator insert_or_assign (const_iterator , const key_arg<K> & k, V && v)
Defined at line 113 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class V = mapped_type>
iterator insert_or_assign (const_iterator , const key_arg<K> & k, const V & v)
Defined at line 119 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class... Args, typename std::enable_if<
!std::is_convertible<K, const_iterator>::value, int>::type = 0, K* = nullptr>
std::pair<iterator, bool> try_emplace (key_arg<K> && k, Args &&... args)
All `try_emplace()` overloads make the same guarantees regarding rvalue
arguments as `std::unordered_map::try_emplace()`, namely that these
functions will not move from rvalue arguments if insertions do not happen.
Defined at line 131 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class... Args, typename std::enable_if<
!std::is_convertible<K, const_iterator>::value, int>::type = 0>
std::pair<iterator, bool> try_emplace (const key_arg<K> & k, Args &&... args)
Defined at line 139 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class... Args, K* = nullptr>
iterator try_emplace (const_iterator , key_arg<K> && k, Args &&... args)
Defined at line 145 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class... Args>
iterator try_emplace (const_iterator , const key_arg<K> & k, Args &&... args)
Defined at line 151 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class P = Policy>
MappedReference<P> at (const key_arg<K> & key)
Defined at line 157 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class P = Policy>
MappedConstReference<P> at (const key_arg<K> & key)
Defined at line 167 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class P = Policy, K* = nullptr>
MappedReference<P> operator[] (key_arg<K> && key)
Defined at line 178 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h
template <class K = key_type, class P = Policy>
MappedReference<P> operator[] (const key_arg<K> & key)
Defined at line 188 of file ../../third_party/abseil-cpp/absl/container/internal/raw_hash_map.h