ATLAS Offline Software
Loading...
Searching...
No Matches
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 }
void HashCombine(std::size_t &h, const Type &value) noexcept
Definition HashTools.h:33

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