forked from mpusz/mp-units
feat(example): treat_as_floating_point specializations for examples' types removed
This commit is contained in:
@@ -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>);
|
||||
|
||||
Reference in New Issue
Block a user