gcc/libstdc++-v3/testsuite/util
François Dumont b101633fa6 2018-09-02 François Dumont <fdumont@gcc.gnu.org>
* include/debug/safe_iterator.h
	(_Safe_iterator<_It, _Seq, _Cat>::_Self): New.
	(_Safe_iterator<_It, _Seq, std::random_access_iterator_tag>::_Self):
	New.
	(_Safe_iterator<_It, _Seq, std::random_access_iterator_tag>
	::_OtherSelf): New.
	(_GLIBCXX_DEBUG_VERIFY_OPERANDS, _GLIBCXX_DEBUG_VERIFY_EQ_OPERANDS)
	(_GLIBCXX_DEBUG_VERIFY_REL_OPERANDS)
	(_GLIBCXX_DEBUG_VERIFY_DIST_OPERANDS): Define macros.
	(_Safe_iterator<_It, _Seq, std::random_access_iterator_tag>
	::operator+(difference_type)): Use latters, inline as friend.
	(_Safe_iterator<_It, _Seq, std::random_access_iterator_tag>
	::operator-(difference_type)): Likewise.
	(operator==(const _Safe_iterator<>&, const _Safe_iterator<>&)):
	Likewise.
	(operator!=(const _Safe_iterator<>&, const _Safe_iterator<>&)):
	Likewise.
	(operator<(const _Safe_iterator<>&, const _Safe_iterator<>&)): Likewise.
	(operator<=(const _Safe_iterator<>&, const _Safe_iterator<>&)):
	Likewise.
	(operator>(const _Safe_iterator<>&, const _Safe_iterator<>&)): Likewise.
	(operator>=(const _Safe_iterator<>&, const _Safe_iterator<>&)):
	Likewise.
	(operator-(const _Safe_iterator<>&, const _Safe_iterator<>&)): Likewise.
	(operator+(difference_type, const _Safe_iterator<>&)): Likewise.
	(operator-(const _Safe_iterator<>&, difference_type)): Likewise.
	* include/debug/safe_iterator.tcc
	(_Safe_iterator<>::_M_can_advance(difference_type)): Take parameter by
	copy.
	* include/debug/safe_local_iterator.h
	(_Safe_local_iterator<_It, _Seq>::_Self): New.
	(_Safe_local_iterator<_It, _Seq>::_OtherSelf): New.
	(_GLIBCXX_DEBUG_VERIFY_OPERANDS): Define macro.
	(operator==(const _Safe_local_iterator<>&,
	const _Safe_local_iterator<>&)): Use latter, inline as friend.
	(operator!=(const _Safe_local_iterator<>&,
	const _Safe_local_iterator<>&)): Likewise.
	* testsuite/util/testsuite_containers.h: Include utility.
	(struct forward_members_unordered<_Tp, bool>): Remove 2nd template
	parameter.
	(forward_members_unordered<>::forward_members_unordered(value_type&)):
	Add using namespace std::rel_ops.
	Add iterator_concept_checks on local_iterator and const_local_iterator.
	Add asserts on comparison between const_local_iterator and
	local_iterator.
	(struct forward_members_unordered<_Tp, false>): Remove partial
	specialization.
	* testsuite/23_containers/forward_list/types/1.cc: New.
	* testsuite/23_containers/list/types/1.cc: New.

From-SVN: r264039
2018-09-02 10:20:57 +00:00
..
common_type Update copyright years. 2018-01-03 11:03:58 +01:00
debug Update copyright years. 2018-01-03 11:03:58 +01:00
exception Update copyright years. 2018-01-03 11:03:58 +01:00
hash_fn Update copyright years. 2018-01-03 11:03:58 +01:00
io Update copyright years. 2018-01-03 11:03:58 +01:00
native_type Update copyright years. 2018-01-03 11:03:58 +01:00
performance Update copyright years. 2018-01-03 11:03:58 +01:00
regression Update copyright years. 2018-01-03 11:03:58 +01:00
statistic Update copyright years. 2018-01-03 11:03:58 +01:00
thread Update copyright years. 2018-01-03 11:03:58 +01:00
replacement_memory_operators.h Update copyright years. 2018-01-03 11:03:58 +01:00
specfun_testcase.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_abi.cc PR libstdc++/83328 add correct basic_string::insert for initializer_list 2018-06-21 23:01:25 +01:00
testsuite_abi.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_abi_check.cc Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_allocator.cc Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_allocator.h Fix failure when -fno-rtti test is run in C++17 or later 2018-08-23 20:27:54 +01:00
testsuite_api.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_character.cc Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_character.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_common_types.h P0935R0 Eradicating unnecessarily explicit default constructors 2018-06-12 20:10:55 +01:00
testsuite_container_traits.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_containergen.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_containers.h 2018-09-02 François Dumont <fdumont@gcc.gnu.org> 2018-09-02 10:20:57 +00:00
testsuite_counter_type.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_error.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_fs.h PR libstdc++/78870 support std::filesystem on Windows 2018-05-31 20:20:24 +01:00
testsuite_greedy_ops.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_hooks.cc Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_hooks.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_io.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_iterators.h Optimize std::sub_match comparisons using string_view-like type 2018-07-02 21:31:11 +01:00
testsuite_new_operators.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_performance.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_random.h PR c++/67445 - returning temporary initializer_list. 2018-05-29 16:04:52 -04:00
testsuite_regex.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_rng.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_rvalref.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_shared.cc Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_tr1.h Update copyright years. 2018-01-03 11:03:58 +01:00