Re: [PATCH] libstdc++: Don't initialize from *this inside some views [PR97600]

2020-10-30 Thread Jonathan Wakely via Gcc-patches
On 30/10/20 11:11 -0400, Patrick Palka via Libstdc++ wrote: This works around a subtle issue where instantiating the begin()/end() member of some views (as part of return type deduction) inadvertently requires computing the satisfaction value of range. This is problematic because the constraint

[PATCH] libstdc++: Don't initialize from *this inside some views [PR97600]

2020-10-30 Thread Patrick Palka via Gcc-patches
This works around a subtle issue where instantiating the begin()/end() member of some views (as part of return type deduction) inadvertently requires computing the satisfaction value of range. This is problematic because the constraint range requires the begin()/end() member to be callable. But i