fix(example): measurement now properly propagates treat_as_floating_point

This commit is contained in:
Mateusz Pusz
2023-09-10 14:17:34 +02:00
parent d7261c8f76
commit 42527d2bfb

View File

@ -117,6 +117,9 @@ private:
} // namespace
template<class T>
inline constexpr bool mp_units::treat_as_floating_point<measurement<T>> = mp_units::treat_as_floating_point<T>;
template<class T>
inline constexpr bool mp_units::is_scalar<measurement<T>> = true;
template<class T>