xlnt
|
Allows a scoped enum (aka "enum class") to be used as a key in a std::unordered_map. More...
#include <scoped_enum_hash.hpp>
Public Member Functions | |
std::size_t | operator() (Enum e) const |
Cast the enumeration e to a std::size_t and hash that value using std::hash. More... | |
Allows a scoped enum (aka "enum class") to be used as a key in a std::unordered_map.
|
inline |
Cast the enumeration e to a std::size_t and hash that value using std::hash.