Panzer Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | List of all members
panzer::pair_hash Struct Reference

A hash functor for std::pair, combining the hashes of both elements via hash_combine(). Useful as the Hash template argument of an unordered container keyed on std::pair. More...

#include <Panzer_HashUtils.hpp>

Public Member Functions

template<typename T1 , typename T2 >
std::size_t operator() (const std::pair< T1, T2 > &v) const
 

Detailed Description

A hash functor for std::pair, combining the hashes of both elements via hash_combine(). Useful as the Hash template argument of an unordered container keyed on std::pair.

Definition at line 54 of file Panzer_HashUtils.hpp.

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 >
std::size_t panzer::pair_hash::operator() ( const std::pair< T1, T2 > &  v) const
inline

Definition at line 57 of file Panzer_HashUtils.hpp.


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