gcc/libstdc++-v3/testsuite/std
Patrick Palka 4be16d1c1c libstdc++: elements_view's sentinel and iterator not comparable [LWG 3406]
This implements the proposed resolution for LWG 3406, and adds a
testcase for the example from P1994R1.

libstdc++-v3/ChangeLog:

	* include/std/ranges (elements_view::begin): Adjust constraints.
	(elements_view::end): Likewise.
	(elements_view::_Sentinel::operator==): Templatize to take both
	_Iterator<true> and _Iterator<false>.
	(elements_view::_Sentinel::operator-): Likewise.
	* testsuite/std/ranges/adaptors/elements.cc: Add testcase for
	the example from P1994R1.
	* testsuite/std/ranges/adaptors/lwg3406.cc: New test.
2020-08-26 21:52:58 -04:00
..
concepts libstdc++: Avoid using __float128 in strict modes 2020-07-31 19:58:03 +01:00
ranges libstdc++: elements_view's sentinel and iterator not comparable [LWG 3406] 2020-08-26 21:52:58 -04:00
time libstdc++: Fix typo in chrono::year_month_weekday::operator== 2020-08-26 12:58:37 -04:00