Skip to main content

hash Struct Template

Hash specialization for `SceneId` to enable use in unordered containers. More...

Declaration

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

Public Operators Index

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

Computes the hash value for a SceneId. More...

Description

Hash specialization for `SceneId` to enable use in unordered containers.

Definition at line 105 of file SceneId.ixx.

Public Operators

operator()()

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

Computes the hash value for a SceneId.

Parameters
id

The SceneId to hash.

Returns

The hash value (same as the internal id).

Definition at line 114 of file SceneId.ixx.

114 std::size_t operator()(const helios::engine::core::data::SceneId& id) const noexcept {
115 return id.value();
116 }

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.