proxygen
folly::hasher< T, std::enable_if_t< std::is_enum< T >::value > > Struct Template Reference

#include <Hash.h>

Public Member Functions

size_t operator() (T key) const noexcept
 

Detailed Description

template<typename T>
struct folly::hasher< T, std::enable_if_t< std::is_enum< T >::value > >

Definition at line 507 of file Hash.h.

Member Function Documentation

template<typename T >
size_t folly::hasher< T, std::enable_if_t< std::is_enum< T >::value > >::operator() ( T  key) const
inlinenoexcept

Definition at line 508 of file Hash.h.

508  {
509  return Hash()(static_cast<std::underlying_type_t<T>>(key));
510  }

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