diff --git a/example/include/ranged_representation.h b/example/include/ranged_representation.h index aa5eb725..0ffd5d70 100644 --- a/example/include/ranged_representation.h +++ b/example/include/ranged_representation.h @@ -65,10 +65,6 @@ public: template constexpr bool mp_units::is_scalar> = mp_units::is_scalar; -template -constexpr bool mp_units::treat_as_floating_point> = - mp_units::treat_as_floating_point; - template struct MP_UNITS_STD_FMT::formatter, Char> : formatter { template diff --git a/example/include/validated_type.h b/example/include/validated_type.h index ec42f893..c8b5dc6a 100644 --- a/example/include/validated_type.h +++ b/example/include/validated_type.h @@ -116,9 +116,6 @@ public: template constexpr bool mp_units::is_scalar> = mp_units::is_scalar; -template -constexpr bool mp_units::treat_as_floating_point> = mp_units::treat_as_floating_point; - template std::basic_ostream& operator<<(std::basic_ostream& os, diff --git a/example/measurement.cpp b/example/measurement.cpp index b0cf594b..59636113 100644 --- a/example/measurement.cpp +++ b/example/measurement.cpp @@ -131,12 +131,9 @@ private: } // namespace -template -constexpr bool mp_units::treat_as_floating_point> = mp_units::treat_as_floating_point; - -template +template constexpr bool mp_units::is_scalar> = true; -template +template constexpr bool mp_units::is_vector> = true; static_assert(mp_units::RepresentationOf, mp_units::quantity_character::scalar>);