mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 02:17:16 +02:00
fix(example): measurement
now properly propagates treat_as_floating_point
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user