hash Struct Template
Hash specialization for `ScorePoolId` to enable use in unordered containers. More...
Declaration
struct std::hash<helios::engine::core::data::ScorePoolId> { ... }
Public Operators Index
| std::size_t | operator() (const helios::engine::core::data::ScorePoolId &id) const noexcept |
|
Computes the hash value for a ScorePoolId. More... | |
Description
Hash specialization for `ScorePoolId` to enable use in unordered containers.
Definition at line 105 of file ScorePoolId.ixx.
Public Operators
operator()()
| inline noexcept |
Computes the hash value for a ScorePoolId.
- Parameters
-
id The ScorePoolId to hash.
- Returns
The hash value (same as the internal id).
Definition at line 114 of file ScorePoolId.ixx.
114 std::size_t operator()(const helios::engine::core::data::ScorePoolId& 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.