diff --git a/detail/expression.hpp b/detail/expression.hpp index 3f00349..b4afc0a 100644 --- a/detail/expression.hpp +++ b/detail/expression.hpp @@ -36,14 +36,14 @@ namespace boost::proto17 { template ::type, bool AddRValueRef = std::is_same_v && !std::is_const_v> - struct rhs_value_type_phase_1; + struct operand_value_type_phase_1; template - struct rhs_value_type_phase_1 + struct operand_value_type_phase_1 { using type = U &&; }; template - struct rhs_value_type_phase_1 + struct operand_value_type_phase_1 { using type = U; }; template @@ -55,7 +55,7 @@ namespace boost::proto17 { { static bool const value = true; }; template ::type, + typename U = typename operand_value_type_phase_1::type, bool RemoveRefs = std::is_rvalue_reference_v, bool IsExpr = is_expr>::value> struct operand_type;