6#include <sfl/compact_vector.hpp>
17 template<
typename T,
typename RawAllocator = DefaultAllocator>
using CompactVector = sfl::compact_vector<T, StdAllocator<T, RawAllocator>>;
21template<
typename T,
class RawAllocator>
struct std::hash<
CeresEngine::CompactVector<T, RawAllocator>> {
23 constexpr size_t operator()(
const Type& obj)
const {
25 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::compact_vector< T, StdAllocator< T, RawAllocator > > CompactVector
CompactVector is a sequence container similar to Vector.
Definition CompactVector.hpp:17