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

Template specialization for std::pair. More...

#include <pair_hash.h>

Public Member Functions

std::size_t operator() (const std::pair< A, B > &pair) const
 Computes a combined hash from the pair's elements and returns it. More...
 

Detailed Description

template<typename A, typename B>
struct std::hash< std::pair< A, B > >

Template specialization for std::pair.

Member Function Documentation

template<typename A , typename B >
std::size_t std::hash< std::pair< A, B > >::operator() ( const std::pair< A, B > &  pair) const
inline

Computes a combined hash from the pair's elements and returns it.

Parameters
pairThe pair to hash
Returns
The hash

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