Skip to main content

hash Struct Template

std::hash specialization for StateTypeId. More...

Declaration

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

Public Operators Index

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

Description

std::hash specialization for StateTypeId.

Enables use of StateTypeId as a key in unordered containers.

Definition at line 82 of file StateTypeId.ixx.

Public Operators

operator()()

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

Definition at line 83 of file StateTypeId.ixx.

83 std::size_t operator()(const helios::engine::core::data::StateTypeId& id) const noexcept {
84 return id.value();
85 }

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.