proxygen
std::hash< TestEnum > Struct Template Reference

Public Member Functions

std::size_t operator() (TestEnum const &e) const noexcept
 

Detailed Description

template<>
struct std::hash< TestEnum >

Definition at line 243 of file HashTest.cpp.

Member Function Documentation

std::size_t std::hash< TestEnum >::operator() ( TestEnum const &  e) const
inlinenoexcept

Definition at line 244 of file HashTest.cpp.

244  {
245  return hash<int>()(static_cast<int>(e));
246  }

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