gcc/libstdc++-v3/testsuite
Jonathan Wakely cf0c3a4573 libstdc++: Fix noexcept guarantees for ranges::split_view
Also introduce the _M_i_current() accessors to solve the problem of
access to the private member of _OuterIter from the iter_move and
iter_swap overloads (which are only friends of _InnerIter not
_OuterIter).

	* include/std/ranges (transform_view::_Iterator::__iter_move): Remove.
	(transform_view::_Iterator::operator*): Add noexcept-specifier.
	(transform_view::_Iterator::iter_move): Inline __iter_move body here.
	(split_view::_OuterIter::__current): Add noexcept.
	(split_view::_InnerIter::__iter_swap): Remove.
	(split_view::_InnerIter::__iter_move): Remove.
	(split_view::_InnerIter::_M_i_current): New accessors.
	(split_view::_InnerIter::__at_end): Use _M_i_current().
	(split_view::_InnerIter::operator*): Likewise.
	(split_view::_InnerIter::operator++): Likewise.
	(iter_move(const _InnerIter&)): Likewise.
	(iter_swap(const _InnerIter&, const _InnerIter&)): Likewise.
	* testsuite/std/ranges/adaptors/split.cc: Check noexcept-specifier
	for iter_move and iter_swap on split_view's inner iterator.
2020-03-10 17:45:45 +00:00
..
17_intro Skip charset.cc tests on *-*-hpux*. 2020-02-29 18:28:40 +00:00
18_support
19_diagnostics libstdc++: Define operator<=> for <system_error> types 2020-02-20 12:27:48 +00:00
20_util libstdc++: Fix incorrect use of memset in ranges::fill_n (PR 94017) 2020-03-03 22:46:39 -05:00
21_strings libstdc++: allow string_view insertion to work with <iosfwd> (PR 94051) 2020-03-05 16:46:28 +00:00
22_locale
23_containers libstdc++: Change compile-only test to run 2020-03-10 09:47:15 +00:00
24_iterators libstdc++: Change compile-only test to run 2020-03-10 09:47:15 +00:00
25_algorithms libstdc++: Fix incorrect use of memset in ranges::fill_n (PR 94017) 2020-03-03 22:46:39 -05:00
26_numerics libstdc++: Update the <numeric> synopsis test to latest standard 2020-02-28 15:08:14 -05:00
27_io libstdc++: Handle type-changing path concatenations (PR 94063) 2020-03-09 23:22:57 +00:00
28_regex
29_atomics
30_threads libstdc++: Fix call to __glibcxx_rwlock_init (PR 93244) 2020-03-06 12:03:17 +00:00
abi
backward
config
data
decimal
experimental libstdc++: Fix some warnings in filesystem tests 2020-03-05 17:23:44 +00:00
ext
lib libstdc++: Disable diagnostic URLs in testsuite 2020-02-27 20:26:20 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions
std libstdc++: Fix noexcept guarantees for ranges::split_view 2020-03-10 17:45:45 +00:00
tr1
tr2
util libstdc++: Add a testsuite range type that has a sized sentinel 2020-03-03 22:44:39 -05:00
Makefile.am
Makefile.in