Specialization of functor std::hash
for type Enum.
This specialization is provided with the inclusion of header file alib/compatibility/std_boxing_functional.hpp.
While the documentation indicates namespace alib::compatibility::std
, the specialization is (as needed) implemented in namespace std
.
Definition at line 107 of file std_boxing_functional.hpp.
#include <std_boxing_functional.hpp>
Public Method Index: | |
size_t | operator() (const alib::boxing::Enum &src) const |
|
inline |
Calculates the hash code for class Enum.
src | The Enum object to hash. |
Definition at line 112 of file std_boxing_functional.hpp.