proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
Class List
Class Hierarchy
Class Members
Public Member Functions
|
List of all members
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
inline
noexcept
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:
proxygen/folly/folly/hash/
Hash.h
folly
hasher< T, std::enable_if_t< std::is_enum< T >::value > >
Generated by
1.8.11