#include <functional>
Go to the source code of this file.
|
static constexpr void | hash_combine (std::size_t &seed) |
| This is a dummy function to take the final case of hash_combine below.
|
|
template<typename T , typename... Types> |
static constexpr void | hash_combine (std::size_t &seed, const T &val, const Types &... args) |
| Combine multiple hashes utilizing previous hash result.
|
|
template<typename... Types> |
static constexpr std::size_t | hash_val (const Types &... args) |
|
◆ hash_combine() [1/2]
static constexpr void hash_combine |
( |
std::size_t & |
seed | ) |
|
|
inlinestaticconstexpr |
This is a dummy function to take the final case of hash_combine below.
- Parameters
-
Definition at line 32 of file hash.h.
Referenced by hash_combine(), hash_fp_item(), hash_val(), HashConstructionBatchSources(), PCB_IO_IPC2581::lineHash(), std::hash< CLEARANCE_CACHE_KEY >::operator()(), std::hash< PTR_LAYER_CACHE_KEY >::operator()(), std::hash< PTR_PTR_CACHE_KEY >::operator()(), std::hash< PTR_PTR_LAYER_CACHE_KEY >::operator()(), std::hash< std::pair< BITMAPS, int > >::operator()(), std::hash< TRANSFORM >::operator()(), ERC_SCH_PIN_CONTEXT::rehash(), SCH_SHEET_PATH::Rehash(), and SHAPE_POLY_SET::unfractureSingle().
◆ hash_combine() [2/2]
template<typename T , typename... Types>
static constexpr void hash_combine |
( |
std::size_t & |
seed, |
|
|
const T & |
val, |
|
|
const Types &... |
args |
|
) |
| |
|
inlinestaticconstexpr |
Combine multiple hashes utilizing previous hash result.
- Template Parameters
-
- Parameters
-
seed | A seed value input and output for the result. |
val | A hashable object of type T |
Definition at line 44 of file hash.h.
References hash_combine().
◆ hash_val()
template<typename... Types>
static constexpr std::size_t hash_val |
( |
const Types &... |
args | ) |
|
|
inlinestaticconstexpr |