Re: [PATCH] libstdc++: Implement LWG 3820/3849 changes to cartesian_product_view

2023-03-09 Thread Jonathan Wakely via Gcc-patches
On Wed, 8 Mar 2023 at 15:13, Patrick Palka via Libstdc++ wrote: > > The LWG 3820 testcase revealed a bug in _M_advance, which this patch > also fixes. > > Tested on x86_64-pc-linux-gnu, does this look OK for trunk? OK > > libstdc++-v3/ChangeLog: > > * include/std/ranges > (cartes

[PATCH] libstdc++: Implement LWG 3820/3849 changes to cartesian_product_view

2023-03-08 Thread Patrick Palka via Gcc-patches
The LWG 3820 testcase revealed a bug in _M_advance, which this patch also fixes. Tested on x86_64-pc-linux-gnu, does this look OK for trunk? libstdc++-v3/ChangeLog: * include/std/ranges (cartesian_product_view::_Iterator::_Iterator): Remove constraint on default construct