13#include <sfl/small_vector.hpp>
30 template<
typename T, std::
size_t N,
typename RawAllocator = DefaultAllocator>
31 using SmallVector = sfl::small_vector<T, N, ScopedAllocatorAdaptor<StdAllocator<T, RawAllocator>>>;
35template<
typename T,
size_t StaticCapacity,
class Alloc>
struct std::hash<
CeresEngine::SmallVector<T, StaticCapacity, Alloc>> {
37 constexpr size_t operator()(
const Type& obj)
const {
39 for(
const T& value : obj) {
Definition Application.hpp:19
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_vector< T, N, ScopedAllocatorAdaptor< StdAllocator< T, RawAllocator > > > SmallVector
SmallVector is a sequence container similar to Vector.
Definition SmallVector.hpp:31
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25