#include <cstdint>
Go to the source code of this file.
|
|
constexpr std::uint32_t | hash_combine (std::uint32_t x, std::uint32_t y) noexcept |
| Combines two hash values. More...
|
|
constexpr std::uint64_t | hash_combine (std::uint64_t x, std::uint64_t y) noexcept |
| Combines two hash values. More...
|
|
◆ hash_combine() [1/2]
constexpr std::uint32_t hash_combine |
( |
std::uint32_t |
x, |
|
|
std::uint32_t |
y |
|
) |
| |
|
inlineconstexprnoexcept |
Combines two hash values.
- Parameters
-
x | First hash value. |
y | Second hash value. |
- Returns
- Combination of
x
and y
.
Definition at line 34 of file hash-combine.hpp.
◆ hash_combine() [2/2]
constexpr std::uint64_t hash_combine |
( |
std::uint64_t |
x, |
|
|
std::uint64_t |
y |
|
) |
| |
|
inlineconstexprnoexcept |
Combines two hash values.
- Parameters
-
x | First hash value. |
y | Second hash value. |
- Returns
- Combination of
x
and y
.
Definition at line 40 of file hash-combine.hpp.