proxygen
folly::Hash Struct Reference

#include <Hash.h>

Public Member Functions

template<class T >
size_t operator() (const T &v) const noexcept(noexcept(hasher< T >()(v)))
 
template<class T , class... Ts>
size_t operator() (const T &t, const Ts &...ts) const
 

Detailed Description

Definition at line 360 of file Hash.h.

Member Function Documentation

template<class T >
size_t folly::Hash::operator() ( const T v) const
inlinenoexcept

Definition at line 362 of file Hash.h.

References folly::T.

362  {
363  return hasher<T>()(v);
364  }
template<class T , class... Ts>
size_t folly::Hash::operator() ( const T t,
const Ts &...  ts 
) const
inline

Definition at line 367 of file Hash.h.

References folly::hash::hash_128_to_64().

367  {
368  return hash::hash_128_to_64((*this)(t), (*this)(ts...));
369  }
uint64_t hash_128_to_64(const uint64_t upper, const uint64_t lower) noexcept
Definition: Hash.h:570

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