← API Reference Namespace

asge::game::asset::detail

Functions

#template<typename Tuple, std::size_t... I> std::size_t HashTupleImpl(Tuple const &inTuple, std::index_sequence< I... >) noexcept

Combines hashes of an arbitrary tuple into one std::size_t.

Applies boost::hash_combine's mixing formula via a fold expression over each element's std::hash, at the indices named by I (see AssetPool:: KeyHash for how the index sequence is built).