Contents

SushiEngine::Database::AssetIdHash

operator()

std::size_t operator()(const AssetId &id) const noexcept

Parameters

NameTypeDescription
idconst AssetId &

The id to hash.

Returns

std::size_t

A hash consistent with operator==(const AssetId&, const AssetId&): equal ids always hash equal.