ATLAS Offline Software
Public Member Functions | List of all members
TrigVSI::PairHash< T1, T2 > Struct Template Reference

#include <HashTools.h>

Collaboration diagram for TrigVSI::PairHash< T1, T2 >:

Public Member Functions

size_t operator() (const std::pair< T1, T2 > &p) const noexcept
 

Detailed Description

template<typename T1, typename T2>
struct TrigVSI::PairHash< T1, T2 >

Definition at line 40 of file HashTools.h.

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 >
size_t TrigVSI::PairHash< T1, T2 >::operator() ( const std::pair< T1, T2 > &  p) const
inlinenoexcept

Definition at line 42 of file HashTools.h.

43  {
44  size_t seed = 0;
45  HashCombine(seed, p.first);
46  HashCombine(seed, p.second);
47  return seed;
48  }

The documentation for this struct was generated from the following file:
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Generate_dsid_ranseed.seed
seed
Definition: Generate_dsid_ranseed.py:10
TrigVSI::HashCombine
void HashCombine(std::size_t &h, const Type &value) noexcept
Definition: HashTools.h:33