HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
v1::hash_map< Key, T, Allocator > Class Template Reference

Data Structures

class  iterator
class  const_iterator

Public Types

using key_type = Key
using value_type = T
using size_type = std::size_t
using difference_type = ptrdiff_t
using allocator_type = Allocator
using reference = value_type &
using const_reference = value_type const &
using pointer = value_type *
using const_pointer = value_type const *
using node_type = hash_map_entry<Key, T>

Public Member Functions

 hash_map (hash_map const &)=delete
 hash_map (hash_map &&)=delete
hash_map & operator= (hash_map const &)=delete
hash_map & operator= (hash_map &&)=delete
constexpr allocator_type get_allocator () const noexcept
hi_no_inline constexpr void reserve (std::size_t new_capacity) noexcept
constexpr const_iterator find (key_type const &key) const noexcept
template<typename K>
constexpr iterator find_or_create (K &&key) noexcept
template<typename K>
constexpr value_type & operator[] (K &&key) noexcept
constexpr std::default_sentinel_t end () const noexcept
constexpr std::default_sentinel_t cend () const noexcept

Static Public Attributes

static constexpr bool allocator_always_equal = std::allocator_traits<allocator_type>::is_always_equal::value

The documentation for this class was generated from the following file: