diff --git a/example/include/ranged_representation.h b/example/include/ranged_representation.h index aa5eb7256..0ffd5d70d 100644 --- a/example/include/ranged_representation.h +++ b/example/include/ranged_representation.h @@ -65,10 +65,6 @@ class ranged_representation : public validated_type 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 ec42f8938..c8b5dc6a7 100644 --- a/example/include/validated_type.h +++ b/example/include/validated_type.h @@ -116,9 +116,6 @@ class validated_type { 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 b0cf594b0..596361132 100644 --- a/example/measurement.cpp +++ b/example/measurement.cpp @@ -131,12 +131,9 @@ class measurement { } // 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>);