Skip to main content

hash Struct Template

std::hash specialization for ComponentTypeId. More...

Declaration

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

Public Operators Index

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

Description

std::hash specialization for ComponentTypeId.

Enables use of ComponentTypeId as a key in unordered containers.

Definition at line 115 of file ComponentTypeId.ixx.

Public Operators

operator()()

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

Definition at line 116 of file ComponentTypeId.ixx.

116 std::size_t operator()(const helios::engine::core::data::ComponentTypeId& id) const noexcept {
117 return id.value();
118 }

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.