HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
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_map & operator= (small_map const &other)
small_map & operator= (small_map &&other)
std::size_t size () const
decltype(auto) begin () const
decltype(auto) begin ()
decltype(auto) end () const
decltype(auto) end ()
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: