From 2d5386504d3a4c73e18c303646f16d4f9212cd10 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 16 Sep 2022 17:38:40 -0600 Subject: [PATCH] refactor: Unused code commented for now --- .../include/units/bits/expression_template.h | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/core/include/units/bits/expression_template.h b/src/core/include/units/bits/expression_template.h index ed3bcb70..054a5900 100644 --- a/src/core/include/units/bits/expression_template.h +++ b/src/core/include/units/bits/expression_template.h @@ -83,30 +83,30 @@ template using power_or_T = decltype(power_or_T_impl()); // type_power -template -struct type_power { - using type = conditional, power>; -}; +// template +// struct type_power { +// using type = conditional, power>; +// }; -template -struct type_power, Num, 1> { - using type = power; -}; +// template +// struct type_power, Num, 1> { +// using type = power; +// }; -template -struct type_power, Num, Den> { - static constexpr ratio r = ratio(power::num, power::den) * ratio(Num, Den); - using type = power_or_T; -}; +// template +// struct type_power, Num, Den> { +// static constexpr ratio r = ratio(power::num, power::den) * ratio(Num, Den); +// using type = power_or_T; +// }; // expr_power -template -struct expr_power; +// template +// struct expr_power; -template -struct expr_power, Num, Den> { - using type = type_list::type...>; -}; +// template +// struct expr_power, Num, Den> { +// using type = type_list::type...>; +// }; /** * @brief Consolidates contiguous ranges of exponents of the same dimension