gcc/libstdc++-v3/include
Patrick Palka 96abc82224 libstdc++: Implement LWG 3820/3849 changes to cartesian_product_view
The LWG 3820 testcase revealed a bug in _M_advance, which this patch
also fixes.

libstdc++-v3/ChangeLog:

	* include/std/ranges
	(cartesian_product_view::_Iterator::_Iterator): Remove
	constraint on default constructor as per LWG 3849.
	(cartesian_product_view::_Iterator::_M_prev): Adjust position
	of _Nm > 0 test as per LWG 3820.
	(cartesian_product_view::_Iterator::_M_advance): Perform bounds
	checking only on sized cartesian products.
	* testsuite/std/ranges/cartesian_product/1.cc (test08): New test.
2023-03-09 13:41:03 -05:00
..
backward Update copyright years. 2023-01-16 11:52:17 +01:00
bits link pthread_join from std::thread ctor 2023-03-03 16:06:44 -03:00
c Update copyright years. 2023-01-16 11:52:17 +01:00
c_compatibility Update copyright years. 2023-01-16 11:52:17 +01:00
c_global Update copyright years. 2023-01-16 11:52:17 +01:00
c_std Update copyright years. 2023-01-16 11:52:17 +01:00
debug libstdc++: [_GLIBCXX_DEBUG] Remove useless constructor checks 2023-01-23 19:11:54 +01:00
decimal Update copyright years. 2023-01-16 11:52:17 +01:00
experimental libstdc++: Fix formatting 2023-02-24 19:38:57 +01:00
ext libstdc++: Suppress warnings about use of deprecated std::aligned_storage 2023-02-24 14:23:35 +00:00
parallel Update copyright years. 2023-01-16 11:52:17 +01:00
precompiled Update copyright years. 2023-01-16 11:52:17 +01:00
pstl libstdc++: Fix non-reserved names in PSTL headers 2023-02-16 11:34:20 +00:00
std libstdc++: Implement LWG 3820/3849 changes to cartesian_product_view 2023-03-09 13:41:03 -05:00
tr1 Update copyright years. 2023-01-16 11:52:17 +01:00
tr2 Update copyright years. 2023-01-16 11:52:17 +01:00
Makefile.am libstdc++: Implement <experimental/synchronized_value> (P0290) 2023-02-16 14:38:38 +00:00
Makefile.in libstdc++: Implement <experimental/synchronized_value> (P0290) 2023-02-16 14:38:38 +00:00