mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
fix(example): measurement
now properly propagates treat_as_floating_point
This commit is contained in:
@ -117,6 +117,9 @@ private:
|
|||||||
|
|
||||||
} // namespace
|
} // 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>
|
template<class T>
|
||||||
inline constexpr bool mp_units::is_scalar<measurement<T>> = true;
|
inline constexpr bool mp_units::is_scalar<measurement<T>> = true;
|
||||||
template<class T>
|
template<class T>
|
||||||
|
Reference in New Issue
Block a user