Closed JohelEGP closed 6 years ago
Makes the units hashable. I took the liberty of making it constexpr rather than not and using the std::hash of the underlying type.
constexpr
std::hash
Drive-by fix: remove CompileTimeArithmetic test ?scope? I think it predates constexpr units.
CompileTimeArithmetic
Makes the units hashable. I took the liberty of making it
constexpr
rather than not and using thestd::hash
of the underlying type.Drive-by fix: remove
CompileTimeArithmetic
test ?scope? I think it predatesconstexpr
units.