gcc/libstdc++-v3/include
Patrick Palka c7fe68f365 libstdc++: Fix elements_view::operator* and operator[] [LWG 3502]
While we're modifying elements_view, this also implements the one-line
resolution of LWG 3492.

libstdc++-v3/ChangeLog:

	* include/std/ranges (__detail::__returnable_element): New
	concept.
	(elements_view): Use this concept in its constraints.  Add
	missing private access specifier.
	(elements_view::_S_get_element): Define as per LWG 3502.
	(elements_view::operator*, elements_view::operator[]): Use
	_S_get_element.
	(elements_view::operator++): Remove unnecessary constraint
	as per LWG 3492.
	* testsuite/std/ranges/adaptors/elements.cc (test05): New test.
2021-04-08 16:45:22 -04:00
..
backward
bits libstdc++: Fix more doxygen markup for group close commands 2021-04-08 21:42:58 +01:00
c
c_compatibility
c_global libstdc++: Add nodiscard attribute to cast-like functions 2021-04-06 16:43:25 +01:00
c_std
debug libstdc++: _GLIBCXX_DEBUG Fix allocator-extended move constructor 2021-03-28 22:06:33 +02:00
decimal libstdc++: Fix doxygen markup for group close commands 2021-04-06 16:43:24 +01:00
experimental libstdc++: Fix doxygen markup for group close commands 2021-04-06 16:43:24 +01:00
ext libstdc++: Fix Doxygen warnings 2021-04-06 16:43:24 +01:00
parallel
precompiled
pstl
std libstdc++: Fix elements_view::operator* and operator[] [LWG 3502] 2021-04-08 16:45:22 -04:00
tr1 libstdc++: Fix more doxygen markup for group close commands 2021-04-08 21:42:58 +01:00
tr2 libstdc++: Fix doxygen markup for group close commands 2021-04-06 16:43:24 +01:00
Makefile.am
Makefile.in