Skip to main content

hash Struct Template

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

Declaration

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

Public Operators Index

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

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

Description

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

Definition at line 118 of file FontId.ixx.

Public Operators

operator()()

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

Computes the hash value for a FontId.

Parameters
id

The FontId to hash.

Returns

The hash value (same as the internal id).

Definition at line 127 of file FontId.ixx.

127 std::size_t operator()(const helios::engine::core::data::FontId& id) const noexcept {
128 return id.value();
129 }

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.