10template<
typename KeyType, KeyType KEY_VAL,
typename ValueType>
28template<
typename... Entries>
37 using Key =
typename std::tuple_element_t<0, EntryArray>::Key;
39 template<std::
size_t ENTRY_INDEX>
40 using Entry = std::tuple_element_t<ENTRY_INDEX, EntryArray>;
47 m_entries(
std::move(entries)...)
50 template<Key KEY, std::
size_t D_ENTRY_INDEX = 0>
68 template<std::
size_t ENTRY_INDEX>
76 template<Key KEY, std::
size_t D_ENTRY_INDEX = 0>
91 template<std::
size_t ENTRY_INDEX>
96 return std::get<ENTRY_INDEX>(m_entries);
99 template<std::
size_t ENTRY_INDEX>
104 return std::get<ENTRY_INDEX>(m_entries);
114 decltype(
auto)
get()
const
Definition fixed_map_base.h:30
decltype(auto) getEntry() const
Definition fixed_map_base.h:100
TFixedMapBase(TFixedMapBase &&other)=default
static constexpr bool hasKey()
Definition fixed_map_base.h:51
TFixedMapBase(Entries &&... entries)
Definition fixed_map_base.h:46
static constexpr std::size_t ENTRY_ARRAY_SIZE
Definition fixed_map_base.h:34
static constexpr Key entryKey()
Definition fixed_map_base.h:69
decltype(auto) getEntry()
Definition fixed_map_base.h:92
std::tuple_element_t< ENTRY_INDEX, EntryArray > Entry
Definition fixed_map_base.h:40
std::tuple< Entries... > EntryArray
Definition fixed_map_base.h:32
TFixedMapBase & operator=(TFixedMapBase &&rhs)=default
decltype(auto) get() const
Definition fixed_map_base.h:114
typename std::tuple_element_t< 0, EntryArray >::Key Key
Definition fixed_map_base.h:37
static constexpr std::size_t entryIndex()
Definition fixed_map_base.h:77
decltype(auto) get()
Definition fixed_map_base.h:108
Definition fixed_map_base.h:12
Value & getValue()
Definition fixed_map_base.h:19
ValueType Value
Definition fixed_map_base.h:15
KeyType Key
Definition fixed_map_base.h:14
static constexpr Key KEY
Definition fixed_map_base.h:17
const Value & getValue() const
Definition fixed_map_base.h:20
The root for all renderer implementations.
Definition EEngineProject.h:6