#include <utility>
#include <string>
#include <string_view>
#include <iostream>
#include <concepts>
#include <cinttypes>
Go to the source code of this file.
|
constexpr auto | sbx::utility::hash_combine (std::size_t &seed) -> void |
| Combines multiple hashes into a single hash.
|
|
template<hashable Type, hashable... Rest> |
constexpr auto | sbx::utility::hash_combine (std::size_t &seed, const Type &value, Rest... rest) -> void |
| Combines multiple hashes into a single hash. More...
|
|
◆ hash_combine()
template<hashable Type, hashable... Rest>
constexpr auto sbx::utility::hash_combine |
( |
std::size_t & |
seed, |
|
|
const Type & |
value, |
|
|
Rest... |
rest |
|
) |
| -> void |
|
inlineconstexpr |
Combines multiple hashes into a single hash.
- Template Parameters
-
Type | The type of the first value to hash. |
Rest | The types of the remaining values to hash. |
- Parameters
-
seed | The seed to combine the hashes with. |
value | The first value to hash. |
rest | The remaining values to hash. |