ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc > Class Template Reference
Collaboration diagram for ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >:
Classes | |
struct | templated_iterator |
Public Types | |
using | value_type = T |
using | size_type = size_t |
using | difference_type = std::ptrdiff_t |
using | hasher = ArgumentHash |
using | key_equal = ArgumentEqual |
using | allocator_type = EntryAlloc |
using | reference = value_type & |
using | const_reference = const value_type & |
using | pointer = value_type * |
using | const_pointer = const value_type * |
using | iterator = templated_iterator< value_type > |
using | const_iterator = templated_iterator< const value_type > |
Public Member Functions | |
sherwood_v3_table ()=default | |
sherwood_v3_table (size_type bucket_count, const ArgumentHash &hash=ArgumentHash(), const ArgumentEqual &equal=ArgumentEqual(), const ArgumentAlloc &alloc=ArgumentAlloc()) | |
sherwood_v3_table (size_type bucket_count, const ArgumentAlloc &alloc) | |
sherwood_v3_table (size_type bucket_count, const ArgumentHash &hash, const ArgumentAlloc &alloc) | |
sherwood_v3_table (const ArgumentAlloc &alloc) | |
template<typename It > | |
sherwood_v3_table (It first, It last, size_type bucket_count=0, const ArgumentHash &hash=ArgumentHash(), const ArgumentEqual &equal=ArgumentEqual(), const ArgumentAlloc &alloc=ArgumentAlloc()) | |
template<typename It > | |
sherwood_v3_table (It first, It last, size_type bucket_count, const ArgumentAlloc &alloc) | |
template<typename It > | |
sherwood_v3_table (It first, It last, size_type bucket_count, const ArgumentHash &hash, const ArgumentAlloc &alloc) | |
sherwood_v3_table (std::initializer_list< T > il, size_type bucket_count=0, const ArgumentHash &hash=ArgumentHash(), const ArgumentEqual &equal=ArgumentEqual(), const ArgumentAlloc &alloc=ArgumentAlloc()) | |
sherwood_v3_table (std::initializer_list< T > il, size_type bucket_count, const ArgumentAlloc &alloc) | |
sherwood_v3_table (std::initializer_list< T > il, size_type bucket_count, const ArgumentHash &hash, const ArgumentAlloc &alloc) | |
sherwood_v3_table (const sherwood_v3_table &other) | |
sherwood_v3_table (const sherwood_v3_table &other, const ArgumentAlloc &alloc) | |
sherwood_v3_table (sherwood_v3_table &&other) noexcept | |
sherwood_v3_table (sherwood_v3_table &&other, const ArgumentAlloc &alloc) noexcept | |
sherwood_v3_table & | operator= (const sherwood_v3_table &other) |
sherwood_v3_table & | operator= (sherwood_v3_table &&other) noexcept |
~sherwood_v3_table () | |
const allocator_type & | get_allocator () const |
const ArgumentEqual & | key_eq () const |
const ArgumentHash & | hash_function () const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | cend () const |
iterator | find (const FindKey &key) |
const_iterator | find (const FindKey &key) const |
template<typename K_ , typename Hasher_ = Hasher, typename Equal_ = Equal, typename = std::void_t<typename Hasher_::is_transparent, typename Equal_::is_transparent>> | |
std::enable_if_t<!std::is_same_v< K_, FindKey >, iterator > | find (const K_ &key) |
template<typename K_ , typename Hasher_ = Hasher, typename Equal_ = Equal, typename = std::void_t<typename Hasher_::is_transparent, typename Equal_::is_transparent>> | |
std::enable_if_t<!std::is_same_v< K_, FindKey >, const_iterator > | find (const K_ &key) const |
size_t | count (const FindKey &key) const |
std::pair< iterator, iterator > | equal_range (const FindKey &key) |
std::pair< const_iterator, const_iterator > | equal_range (const FindKey &key) const |
template<typename Key , typename... Args> | |
std::pair< iterator, bool > | emplace (Key &&key, Args &&... args) |
std::pair< iterator, bool > | insert (const value_type &value) |
std::pair< iterator, bool > | insert (value_type &&value) |
template<typename... Args> | |
iterator | emplace_hint (const_iterator, Args &&... args) |
iterator | insert (const_iterator, const value_type &value) |
iterator | insert (const_iterator, value_type &&value) |
template<typename It > | |
void | insert (It begin, It end) |
void | insert (std::initializer_list< value_type > il) |
void | rehash (size_t num_buckets) |
void | reserve (size_t num_elements) |
convertible_to_iterator | erase (const_iterator to_erase) |
iterator | erase (const_iterator begin_it, const_iterator end_it) |
size_t | erase (const FindKey &key) |
void | clear () |
void | shrink_to_fit () |
void | swap (sherwood_v3_table &other) |
size_t | size () const |
size_t | max_size () const |
size_t | bucket_count () const |
size_type | max_bucket_count () const |
size_t | bucket (const FindKey &key) const |
float | load_factor () const |
void | max_load_factor (float value) |
float | max_load_factor () const |
bool | empty () const |
Member Typedef Documentation
◆ allocator_type
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::allocator_type = EntryAlloc |
◆ const_iterator
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::const_iterator = templated_iterator<const value_type> |
◆ const_pointer
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::const_pointer = const value_type * |
◆ const_reference
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::const_reference = const value_type & |
◆ difference_type
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::difference_type = std::ptrdiff_t |
◆ hasher
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::hasher = ArgumentHash |
◆ iterator
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::iterator = templated_iterator<value_type> |
◆ key_equal
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::key_equal = ArgumentEqual |
◆ pointer
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::pointer = value_type * |
◆ reference
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::reference = value_type & |
◆ size_type
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::size_type = size_t |
◆ value_type
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
using ska::detailv3::sherwood_v3_table< T, FindKey, ArgumentHash, Hasher, ArgumentEqual, Equal, ArgumentAlloc, EntryAlloc >::value_type = T |
Constructor & Destructor Documentation
◆ sherwood_v3_table() [1/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
default |
◆ sherwood_v3_table() [2/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inlineexplicit |
◆ sherwood_v3_table() [3/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ sherwood_v3_table() [4/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ sherwood_v3_table() [5/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inlineexplicit |
◆ sherwood_v3_table() [6/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
template<typename It >
|
inline |
◆ sherwood_v3_table() [7/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
template<typename It >
|
inline |
◆ sherwood_v3_table() [8/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
template<typename It >
|
inline |
◆ sherwood_v3_table() [9/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ sherwood_v3_table() [10/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ sherwood_v3_table() [11/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ sherwood_v3_table() [12/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ sherwood_v3_table() [13/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ sherwood_v3_table() [14/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inlinenoexcept |
◆ sherwood_v3_table() [15/15]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inlinenoexcept |
◆ ~sherwood_v3_table()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
Member Function Documentation
◆ begin() [1/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ begin() [2/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ bucket()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ bucket_count()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ cbegin()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ cend()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ clear()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ count()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ emplace()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
template<typename Key , typename... Args>
|
inline |
◆ emplace_hint()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
template<typename... Args>
|
inline |
◆ empty()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ end() [1/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ end() [2/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ equal_range() [1/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ equal_range() [2/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ erase() [1/3]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ erase() [2/3]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ erase() [3/3]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ find() [1/4]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ find() [2/4]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ find() [3/4]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
template<typename K_ , typename Hasher_ = Hasher, typename Equal_ = Equal, typename = std::void_t<typename Hasher_::is_transparent, typename Equal_::is_transparent>>
|
inline |
◆ find() [4/4]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
template<typename K_ , typename Hasher_ = Hasher, typename Equal_ = Equal, typename = std::void_t<typename Hasher_::is_transparent, typename Equal_::is_transparent>>
|
inline |
◆ get_allocator()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ hash_function()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ insert() [1/6]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ insert() [2/6]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ insert() [3/6]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ insert() [4/6]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
template<typename It >
|
inline |
◆ insert() [5/6]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ insert() [6/6]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ key_eq()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ load_factor()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ max_bucket_count()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ max_load_factor() [1/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ max_load_factor() [2/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ max_size()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ operator=() [1/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ operator=() [2/2]
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inlinenoexcept |
◆ rehash()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ reserve()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ shrink_to_fit()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ size()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
◆ swap()
template<typename T , typename FindKey , typename ArgumentHash , typename Hasher , typename ArgumentEqual , typename Equal , typename ArgumentAlloc , typename EntryAlloc >
|
inline |
The documentation for this class was generated from the following file:
- mpqc/util/external/c++/ska_flat_hash_map.hpp