From c3c087925754a648c06bc87f50600da18ad680be Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 19 Oct 2022 20:44:12 +0200 Subject: [PATCH] refactor: `DimensionSpec` concept renamed to `DerivedDimensionSpec` --- src/core/include/units/dimension.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/include/units/dimension.h b/src/core/include/units/dimension.h index b81dfb56..ada246dc 100644 --- a/src/core/include/units/dimension.h +++ b/src/core/include/units/dimension.h @@ -134,10 +134,10 @@ inline constexpr bool is_per_of_dims> = } // namespace detail template -concept DimensionSpec = +concept DerivedDimensionSpec = BaseDimension || detail::is_one_dim || detail::is_power_of_dim || detail::is_per_of_dims; -template +template struct derived_dimension; namespace detail { @@ -199,7 +199,7 @@ struct derived_dimension_impl : detail::expr_fractions, Ds.. * @note User should not instantiate this type! It is not exported from the C++ module. The library will * instantiate this type automatically based on the dimensional arithmetic equation provided by the user. */ -template +template struct derived_dimension : detail::derived_dimension_impl {}; namespace detail {