feat(example): treat_as_floating_point specializations for examples' types removed

This commit is contained in:
Mateusz Pusz
2024-10-26 19:15:34 +02:00
parent 48fcbb8030
commit 76057eaf7c
3 changed files with 2 additions and 12 deletions

View File

@ -131,12 +131,9 @@ private:
} // namespace
template<class T>
constexpr bool mp_units::treat_as_floating_point<measurement<T>> = mp_units::treat_as_floating_point<T>;
template<class T>
template<typename T>
constexpr bool mp_units::is_scalar<measurement<T>> = true;
template<class T>
template<typename T>
constexpr bool mp_units::is_vector<measurement<T>> = true;
static_assert(mp_units::RepresentationOf<measurement<double>, mp_units::quantity_character::scalar>);