Skip to main content

hash Struct Template

Hash specialization for GameObjectPoolId. More...

Declaration

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

Public Operators Index

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

Description

Hash specialization for GameObjectPoolId.

Enables use as a key in std::unordered_map and std::unordered_set.

Definition at line 101 of file GameObjectPoolId.ixx.

Public Operators

operator()()

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

Definition at line 102 of file GameObjectPoolId.ixx.

102 std::size_t operator()(const helios::engine::core::data::GameObjectPoolId& id) const noexcept {
103 return id.value();
104 }

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.