Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
std::hash< LhaID > Struct Reference

Hash functor specialization for LhaID. More...

#include <LhaID.h>

Public Member Functions

std::size_t operator() (const LhaID &p) const noexcept
 Computes the hash of a given LhaID.
 

Detailed Description

Hash functor specialization for LhaID.

This specialization allows LhaID to be used as a key in std::unordered_map or std::unordered_set. The hash is computed from the canonical string representation of the identifier.

Definition at line 219 of file LhaID.h.

Member Function Documentation

◆ operator()()

std::size_t std::hash< LhaID >::operator() ( const LhaID p) const
inlinenoexcept

Computes the hash of a given LhaID.

Parameters
pLhaID to hash.
Returns
Hash value derived from p.to_string().

Definition at line 226 of file LhaID.h.


The documentation for this struct was generated from the following file: