Thrive
Public Member Functions | List of all members
std::hash< std::pair< int, int > > Struct Template Reference

Template specialization for hashing a pair of integers. More...

#include <hash.h>

Public Member Functions

std::size_t operator() (const std::pair< int, int > &pair) const
 Computes a hash for a pair of ints. More...
 

Detailed Description

template<>
struct std::hash< std::pair< int, int > >

Template specialization for hashing a pair of integers.

Member Function Documentation

std::size_t std::hash< std::pair< int, int > >::operator() ( const std::pair< int, int > &  pair) const
inline

Computes a hash for a pair of ints.

Parameters
pair
Returns

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