CMS 3D CMS Logo

List of all members | Public Member Functions
edm::StdPairHasher Struct Reference

#include <StdPairHasher.h>

Public Member Functions

std::size_t operator() (const std::pair< const std::string, const std::string > &a) const noexcept
 
std::size_t operator() (const std::pair< const unsigned int, const unsigned int > &a) const noexcept
 

Detailed Description

Definition at line 11 of file StdPairHasher.h.

Member Function Documentation

◆ operator()() [1/2]

std::size_t edm::StdPairHasher::operator() ( const std::pair< const std::string, const std::string > &  a) const
inlinenoexcept

Definition at line 12 of file StdPairHasher.h.

12  {
13  return edm::hash_value(a.first, a.second);
14  }

References a, and edm::hash_value().

◆ operator()() [2/2]

std::size_t edm::StdPairHasher::operator() ( const std::pair< const unsigned int, const unsigned int > &  a) const
inlinenoexcept

Definition at line 15 of file StdPairHasher.h.

15  {
16  return edm::hash_value(a.first, a.second);
17  }

References a, and edm::hash_value().

edm::hash_value
std::size_t hash_value(const Types &... args)
Definition: hash_combine.h:36
a
double a
Definition: hdecay.h:119