proxygen
folly::hasher< std::pair< T1, T2 > > Struct Template Reference

#include <Hash.h>

Public Types

using folly_is_avalanching = std::true_type
 

Public Member Functions

size_t operator() (const std::pair< T1, T2 > &key) const
 

Detailed Description

template<typename T1, typename T2>
struct folly::hasher< std::pair< T1, T2 > >

Definition at line 519 of file Hash.h.

Member Typedef Documentation

template<typename T1 , typename T2 >
using folly::hasher< std::pair< T1, T2 > >::folly_is_avalanching = std::true_type

Definition at line 520 of file Hash.h.

Member Function Documentation

template<typename T1 , typename T2 >
size_t folly::hasher< std::pair< T1, T2 > >::operator() ( const std::pair< T1, T2 > &  key) const
inline

Definition at line 522 of file Hash.h.

522  {
523  return Hash()(key.first, key.second);
524  }

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