Skip to main content

hash Struct Template

std::hash specialization for ScoreTypeId. More...

Declaration

struct std::hash<helios::engine::core::data::ScoreTypeId> { ... }

Public Operators Index

std::size_toperator() (const helios::engine::core::data::ScoreTypeId &id) const noexcept

Description

std::hash specialization for ScoreTypeId.

Enables use of ScoreTypeId as a key in unordered containers.

Definition at line 90 of file ScoreTypeId.ixx.

Public Operators

operator()()

std::size_t std::hash< helios::engine::core::data::ScoreTypeId >::operator() (const helios::engine::core::data::ScoreTypeId & id)
inline noexcept

Definition at line 91 of file ScoreTypeId.ixx.

91 std::size_t operator()(const helios::engine::core::data::ScoreTypeId& id) const noexcept {
92 return id.value();
93 }

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.