diff --git a/src/core/include/mp-units/bits/expression_template.h b/src/core/include/mp-units/bits/expression_template.h index ab98a5e8..7e83c6a3 100644 --- a/src/core/include/mp-units/bits/expression_template.h +++ b/src/core/include/mp-units/bits/expression_template.h @@ -268,10 +268,10 @@ struct expr_simplify, NRest...>, type_list typename Pred> +template typename Pred> struct expr_less_impl : Pred, expr_type> {}; -template typename Pred> +template typename Pred> struct expr_less_impl, Pred> : std::true_type {}; /** @@ -280,7 +280,7 @@ struct expr_less_impl, Pred> : std::true_type {}; * Algorithm accounts not only for explicit types but also for the case when they * are wrapped within `power`. */ -template typename Pred> +template typename Pred> using expr_less = expr_less_impl;