|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Hash functor specialization for BlockName. More...
#include <BlockName.h>
Public Member Functions | |
| std::size_t | operator() (const BlockName &p) const noexcept |
| Computes a hash value for a BlockName. | |
Hash functor specialization for BlockName.
This allows BlockName to be used as a key in std::unordered_map or std::unordered_set. The hash is built from all aliases using a Boost-style hash combine scheme in order to be sensitive to the whole alias set (but not to its order).
Definition at line 363 of file BlockName.h.
Computes a hash value for a BlockName.
Each alias contributes to the overall hash via a hash-combine-like operation. Two BlockName objects that carry the same alias set (ignoring ordering) will produce the same hash.
| p | BlockName to hash. |
Definition at line 384 of file BlockName.h.