Re: [PATCH] c++: constraints are unevaluated operands [PR99961]

2021-04-12 Thread Jason Merrill via Gcc-patches
On 4/11/21 11:37 AM, Patrick Palka wrote: According to [temp.concept]/6 and [temp.pre]/9, a concept definition and a requires clause are both unevaluated contexts, and hence satisfaction deals only with unevaluated operands, so we should set cp_unevaluated in these three situations. (I guess we

[PATCH] c++: constraints are unevaluated operands [PR99961]

2021-04-11 Thread Patrick Palka via Gcc-patches
According to [temp.concept]/6 and [temp.pre]/9, a concept definition and a requires clause are both unevaluated contexts, and hence satisfaction deals only with unevaluated operands, so we should set cp_unevaluated in these three situations. (I guess we should set cp_unevaluated during normalizati