Functor for hashing Length::Unit values. More...
Public Member Functions | |
std::size_t | operator() (ns3::Length::Unit u) const noexcept |
Produce a hash value for a Length::Unit. | |
Functor for hashing Length::Unit values.
This classes exists as a work around for a C++11 defect. c++11 doesn't provide a std::hash implementation for enums
|
inlinenoexcept |