HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Structures | Public Types | Public Member Functions | Static Public Attributes
v1::small_map< K, V, N > Class Template Reference

Data Structures

struct  item_type
 

Public Types

using key_type = K
 
using value_type = V
 
using array_type = std::array<item_type, capacity>
 

Public Member Functions

 small_map (small_map const &other)
 
 small_map (small_map &&other)
 
small_mapoperator= (small_map const &other)
 
small_mapoperator= (small_map &&other)
 
std::size_t size () const
 
decltype(autobegin () const
 
decltype(autobegin ()
 
decltype(autoend () const
 
decltype(autoend ()
 
std::optional< V > get (K const &key) const noexcept
 
get (K const &key, V const &default_value) const noexcept
 
template<typename KK , typename VV >
bool set (KK &&key, VV &&value) noexcept
 
increment (K const &key) noexcept
 

Static Public Attributes

static constexpr int capacity = N
 

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