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_t | operator() (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()()
| 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.