6#include <sfl/small_flat_map.hpp>
7#include <sfl/small_flat_multimap.hpp>
8#include <sfl/small_unordered_flat_map.hpp>
9#include <sfl/small_unordered_flat_multimap.hpp>
29 template<
typename Key,
typename T, std::
size_t N,
typename Compare = std::less<>,
typename RawAllocator = DefaultAllocator>
49 template<
typename Key,
typename T, std::
size_t N,
typename Compare = std::less<>,
typename RawAllocator = DefaultAllocator>
68 template<
typename Key,
typename T, std::
size_t N,
typename KeyEqual = std::equal_to<>,
typename RawAllocator = DefaultAllocator>
90 template<
typename Key,
typename T, std::
size_t N,
typename KeyEqual = std::equal_to<>,
typename RawAllocator = DefaultAllocator>
95template<
typename Key,
typename T, std::
size_t N,
typename Compare,
typename RawAllocator>
96struct std::hash<
CeresEngine::SmallFlatMap<Key, T, N, Compare, RawAllocator>> {
99 [[nodiscard]]
size_t operator()(
const ValueType& value) {
101 for(
const auto& entry : value) {
108template<
typename Key,
typename T, std::
size_t N,
typename Compare,
typename RawAllocator>
112 [[nodiscard]]
size_t operator()(
const ValueType& value) {
114 for(
const auto& entry : value) {
121template<
typename Key,
typename T, std::
size_t N,
typename KeyEqual,
typename RawAllocator>
125 [[nodiscard]]
size_t operator()(
const ValueType& value) {
127 for(
const auto& entry : value) {
134template<
typename Key,
typename T, std::
size_t N,
typename KeyEqual,
typename RawAllocator>
138 [[nodiscard]]
size_t operator()(
const ValueType& value) {
140 for(
const auto& entry : value) {
Definition Application.hpp:19
sfl::small_unordered_flat_multimap< Key, T, N, KeyEqual, StdAllocator< std::pair< Key, T >, RawAllocator > > SmallUnorderedFlatMultimap
SmallUnorderedFlatMultimap is an unordered associative container similar to HashMultimap.
Definition SmallFlatMap.hpp:91
sfl::small_unordered_flat_map< Key, T, N, KeyEqual, StdAllocator< std::pair< Key, T >, RawAllocator > > SmallUnorderedFlatMap
SmallUnorderedFlatMap is an unordered associative container similar to HashMap.
Definition SmallFlatMap.hpp:69
constexpr void combine(std::size_t &seed, const T &v)
Generates a new hash for the provided type using the default standard hasher and combines it with a p...
Definition Hash.hpp:32
sfl::small_flat_map< Key, T, N, Compare, StdAllocator< std::pair< Key, T >, RawAllocator > > SmallFlatMap
SmallFlatMap is a sorted associative container similar to Map.
Definition SmallFlatMap.hpp:30
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
sfl::small_flat_multimap< Key, T, N, Compare, StdAllocator< std::pair< Key, T >, RawAllocator > > SmallFlatMultimap
SmallFlatMultimap is a sorted associative container similar to Multimap.
Definition SmallFlatMap.hpp:50