diff --git a/src/core/include/mp-units/framework/unit_concepts.h b/src/core/include/mp-units/framework/unit_concepts.h index 75a143e6..94e430d0 100644 --- a/src/core/include/mp-units/framework/unit_concepts.h +++ b/src/core/include/mp-units/framework/unit_concepts.h @@ -137,14 +137,7 @@ void is_unit_impl(const derived_unit*); void is_unit_impl(const one*); template -inline constexpr bool is_specialization_of_prefixed_unit = false; - -template -inline constexpr bool is_specialization_of_prefixed_unit> = true; - -template - requires requires(T* t) { is_unit_impl(t); } && (!is_specialization_of_named_unit) && - (!is_specialization_of_prefixed_unit) + requires requires(T* t) { is_unit_impl(t); } && std::is_final_v inline constexpr bool is_unit = true; template