feat(example): treat_as_floating_point specializations for examples' types removed
This commit is contained in:
1 parent
48fcbb8030
commit
76057eaf7c
3 files changed
+2
-12
No files matched your search
@@ -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