#include <algorithm>
#include <array>
#include <cassert>
#include <cstddef>
#include <limits>
#include <utility>
Go to the source code of this file.
|
template<typename Key , typename Value , std::size_t Size> |
consteval ComptimeMap< Key, Value, Size > | koutil::container::to_map (std::array< std::pair< Key, Value >, Size > pairs) |
| Converts an array of pairs to a compile-time map.
|
|
template<typename Key , typename Value , std::size_t Size> |
consteval ComptimeMap< Key, Value, Size > | koutil::container::to_map (std::pair< Key, Value >(&&pairs)[Size]) |
| Converts an array of pairs to a compile-time map.
|
|