spot 2.16
Loading...
Searching...
No Matches
Public Member Functions | List of all members
spot::pair_hash Struct Reference

Hash functor for std::pair combining hashes of both elements. More...

#include <spot/misc/hash.hh>

Collaboration diagram for spot::pair_hash:

Public Member Functions

template<typename T , typename U >
std::size_t operator() (const std::pair< T, U > &p) const noexcept
 Hash a pair by combining hashes of both elements.
 

Detailed Description

Hash functor for std::pair combining hashes of both elements.

Member Function Documentation

◆ operator()()

template<typename T , typename U >
std::size_t spot::pair_hash::operator() ( const std::pair< T, U > &  p) const
inlinenoexcept

Hash a pair by combining hashes of both elements.

References spot::U, and spot::wang32_hash().


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

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Fri Feb 27 2015 10:00:07 for spot by doxygen 1.9.8