Instead of providing full specializations of `hash` for every arithmetic type, this moves the implementation to a base class, which is specialized via `enable_if`s instead.
Instead of providing full specializations of `hash` for every arithmetic type, this moves the implementation to a base class, which is specialized via `enable_if`s instead.