|
LRez
v2.1
|
#include <robin_hood.h>


Public Types | |
| using | key_type = Key |
| using | mapped_type = T |
| using | value_type = typename std::conditional< is_set, Key, robin_hood::pair< typename std::conditional< is_flat, Key, Key const >::type, T > >::type |
| using | size_type = size_t |
| using | hasher = Hash |
| using | key_equal = KeyEqual |
| using | Self = Table< IsFlat, MaxLoadFactor100, key_type, mapped_type, hasher, key_equal > |
| using | iterator = Iter< false > |
| using | const_iterator = Iter< true > |
Public Member Functions | |
| Table () noexcept(noexcept(Hash()) &&noexcept(KeyEqual())) | |
| Table (size_t ROBIN_HOOD_UNUSED(bucket_count), const Hash &h=Hash{}, const KeyEqual &equal=KeyEqual{}) noexcept(noexcept(Hash(h)) &&noexcept(KeyEqual(equal))) | |
| template<typename Iter > | |
| Table (Iter first, Iter last, size_t ROBIN_HOOD_UNUSED(bucket_count)=0, const Hash &h=Hash{}, const KeyEqual &equal=KeyEqual{}) | |
| Table (std::initializer_list< value_type > initlist, size_t ROBIN_HOOD_UNUSED(bucket_count)=0, const Hash &h=Hash{}, const KeyEqual &equal=KeyEqual{}) | |
| Table (Table &&o) noexcept | |
| Table & | operator= (Table &&o) noexcept |
| Table (const Table &o) | |
| Table & | operator= (Table const &o) |
| void | swap (Table &o) |
| void | clear () |
| ~Table () | |
| bool | operator== (const Table &other) const |
| bool | operator!= (const Table &other) const |
| template<typename Q = mapped_type> | |
| std::enable_if<!std::is_void< Q >::value, Q & >::type | operator[] (const key_type &key) |
| template<typename Q = mapped_type> | |
| std::enable_if<!std::is_void< Q >::value, Q & >::type | operator[] (key_type &&key) |
| template<typename Iter > | |
| void | insert (Iter first, Iter last) |
| void | insert (std::initializer_list< value_type > ilist) |
| template<typename... Args> | |
| std::pair< iterator, bool > | emplace (Args &&... args) |
| template<typename... Args> | |
| std::pair< iterator, bool > | try_emplace (const key_type &key, Args &&... args) |
| template<typename... Args> | |
| std::pair< iterator, bool > | try_emplace (key_type &&key, Args &&... args) |
| template<typename... Args> | |
| std::pair< iterator, bool > | try_emplace (const_iterator hint, const key_type &key, Args &&... args) |
| template<typename... Args> | |
| std::pair< iterator, bool > | try_emplace (const_iterator hint, key_type &&key, Args &&... args) |
| template<typename Mapped > | |
| std::pair< iterator, bool > | insert_or_assign (const key_type &key, Mapped &&obj) |
| template<typename Mapped > | |
| std::pair< iterator, bool > | insert_or_assign (key_type &&key, Mapped &&obj) |
| template<typename Mapped > | |
| std::pair< iterator, bool > | insert_or_assign (const_iterator hint, const key_type &key, Mapped &&obj) |
| template<typename Mapped > | |
| std::pair< iterator, bool > | insert_or_assign (const_iterator hint, key_type &&key, Mapped &&obj) |
| std::pair< iterator, bool > | insert (const value_type &keyval) |
| std::pair< iterator, bool > | insert (value_type &&keyval) |
| size_t | count (const key_type &key) const |
| template<typename OtherKey , typename Self_ = Self> | |
| std::enable_if< Self_::is_transparent, size_t >::type | count (const OtherKey &key) const |
| bool | contains (const key_type &key) const |
| template<typename OtherKey , typename Self_ = Self> | |
| std::enable_if< Self_::is_transparent, bool >::type | contains (const OtherKey &key) const |
| template<typename Q = mapped_type> | |
| std::enable_if<!std::is_void< Q >::value, Q & >::type | at (key_type const &key) |
| template<typename Q = mapped_type> | |
| std::enable_if<!std::is_void< Q >::value, Q const & >::type | at (key_type const &key) const |
| const_iterator | find (const key_type &key) const |
| template<typename OtherKey > | |
| const_iterator | find (const OtherKey &key, is_transparent_tag) const |
| template<typename OtherKey , typename Self_ = Self> | |
| std::enable_if< Self_::is_transparent, const_iterator >::type | find (const OtherKey &key) const |
| iterator | find (const key_type &key) |
| template<typename OtherKey > | |
| iterator | find (const OtherKey &key, is_transparent_tag) |
| template<typename OtherKey , typename Self_ = Self> | |
| std::enable_if< Self_::is_transparent, iterator >::type | find (const OtherKey &key) |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cend () const |
| iterator | erase (const_iterator pos) |
| iterator | erase (iterator pos) |
| size_t | erase (const key_type &key) |
| void | rehash (size_t c) |
| void | reserve (size_t c) |
| void | compact () |
| size_type | size () const noexcept |
| size_type | max_size () const noexcept |
| ROBIN_HOOD (NODISCARD) bool empty() const noexcept | |
| float | max_load_factor () const noexcept |
| float | load_factor () const noexcept |
| ROBIN_HOOD (NODISCARD) size_t mask() const noexcept | |
| ROBIN_HOOD (NODISCARD) size_t calcMaxNumElementsAllowed(size_t maxElements) const noexcept | |
| ROBIN_HOOD (NODISCARD) size_t calcNumBytesInfo(size_t numElements) const noexcept | |
| size_t | calcNumElementsWithBuffer (size_t numElements) const noexcept |
| ROBIN_HOOD (NODISCARD) size_t calcNumBytesTotal(size_t numElements) const | |
Public Member Functions inherited from robin_hood::detail::WrapHash< Hash > | |
| WrapHash ()=default | |
| WrapHash (Hash const &o) noexcept(noexcept(Hash(std::declval< Hash const & >()))) | |
Public Member Functions inherited from robin_hood::detail::WrapKeyEqual< KeyEqual > | |
| WrapKeyEqual ()=default | |
| WrapKeyEqual (KeyEqual const &o) noexcept(noexcept(KeyEqual(std::declval< KeyEqual const & >()))) | |
Static Public Attributes | |
| static constexpr bool | is_flat = IsFlat |
| static constexpr bool | is_map = !std::is_void<T>::value |
| static constexpr bool | is_set = !is_map |
| static constexpr bool | is_transparent |
Definition at line 908 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::const_iterator = Iter<true> |
Definition at line 1494 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::hasher = Hash |
Definition at line 929 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::iterator = Iter<false> |
Definition at line 1493 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::key_equal = KeyEqual |
Definition at line 930 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::key_type = Key |
Definition at line 923 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::mapped_type = T |
Definition at line 924 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::Self = Table<IsFlat, MaxLoadFactor100, key_type, mapped_type, hasher, key_equal> |
Definition at line 931 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::size_type = size_t |
Definition at line 928 of file robin_hood.h.
| using robin_hood::detail::Table< IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual >::value_type = typename std::conditional< is_set, Key, robin_hood::pair<typename std::conditional<is_flat, Key, Key const>::type, T> >::type |
Definition at line 927 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 1496 of file robin_hood.h.
|
inlineexplicitnoexcept |
Definition at line 1507 of file robin_hood.h.
|
inline |
Definition at line 1516 of file robin_hood.h.
|
inline |
Definition at line 1524 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 1533 of file robin_hood.h.
|
inline |
Definition at line 1580 of file robin_hood.h.
|
inline |
Definition at line 1702 of file robin_hood.h.
|
inline |
Definition at line 1912 of file robin_hood.h.
|
inline |
Definition at line 1925 of file robin_hood.h.
|
inline |
Definition at line 1976 of file robin_hood.h.
|
inline |
Definition at line 1983 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2137 of file robin_hood.h.
|
inline |
Definition at line 1987 of file robin_hood.h.
|
inline |
Definition at line 2005 of file robin_hood.h.
|
inline |
Definition at line 1681 of file robin_hood.h.
|
inline |
Definition at line 2071 of file robin_hood.h.
|
inline |
Definition at line 1898 of file robin_hood.h.
|
inline |
Definition at line 1904 of file robin_hood.h.
|
inline |
Definition at line 1878 of file robin_hood.h.
|
inline |
Definition at line 1889 of file robin_hood.h.
|
inline |
Definition at line 1795 of file robin_hood.h.
|
inline |
Definition at line 1995 of file robin_hood.h.
|
inline |
Definition at line 2001 of file robin_hood.h.
|
inline |
Definition at line 2035 of file robin_hood.h.
|
inline |
Definition at line 2010 of file robin_hood.h.
|
inline |
Definition at line 2018 of file robin_hood.h.
|
inline |
Definition at line 1956 of file robin_hood.h.
|
inline |
Definition at line 1934 of file robin_hood.h.
|
inline |
Definition at line 1970 of file robin_hood.h.
|
inline |
Definition at line 1950 of file robin_hood.h.
|
inline |
Definition at line 1963 of file robin_hood.h.
|
inline |
Definition at line 1941 of file robin_hood.h.
|
inline |
Definition at line 1868 of file robin_hood.h.
|
inline |
Definition at line 1781 of file robin_hood.h.
|
inline |
Definition at line 1788 of file robin_hood.h.
|
inline |
Definition at line 1873 of file robin_hood.h.
|
inline |
Definition at line 1846 of file robin_hood.h.
|
inline |
Definition at line 1856 of file robin_hood.h.
|
inline |
Definition at line 1863 of file robin_hood.h.
|
inline |
Definition at line 1851 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2111 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2105 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2095 of file robin_hood.h.
|
inline |
Definition at line 1722 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 1552 of file robin_hood.h.
|
inline |
Definition at line 1611 of file robin_hood.h.
|
inline |
Definition at line 1708 of file robin_hood.h.
|
inline |
Definition at line 1728 of file robin_hood.h.
|
inline |
Definition at line 1754 of file robin_hood.h.
|
inline |
Definition at line 2057 of file robin_hood.h.
|
inline |
Definition at line 2064 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2100 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2121 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2130 of file robin_hood.h.
|
inline |
Definition at line 2143 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2116 of file robin_hood.h.
|
inlinenoexcept |
Definition at line 2090 of file robin_hood.h.
|
inline |
Definition at line 1674 of file robin_hood.h.
|
inline |
Definition at line 1823 of file robin_hood.h.
|
inline |
Definition at line 1833 of file robin_hood.h.
|
inline |
Definition at line 1840 of file robin_hood.h.
|
inline |
Definition at line 1828 of file robin_hood.h.
|
staticconstexpr |
Definition at line 917 of file robin_hood.h.
|
staticconstexpr |
Definition at line 918 of file robin_hood.h.
|
staticconstexpr |
Definition at line 919 of file robin_hood.h.
|
staticconstexpr |
Definition at line 920 of file robin_hood.h.
1.8.17