gcc/libstdc++-v3/testsuite/24_iterators
Jonathan Wakely b405d54fcd Implement resolution of LWG DR 685 precisely
PR libstdc++/71771
	* include/bits/stl_iterator.h
	(operator-(reverse_iterator<Iter>, reverse_iterator<Iter>): Only
	define for C++98 mode.
	(operator-(move_iterator<Iter>, move_iterator<Iter>): Don't define.
	* testsuite/24_iterators/headers/iterator/synopsis.cc: Use
	-std=gnu++98.
	* testsuite/24_iterators/headers/iterator/synopsis_c++11.cc: New test.
	* testsuite/24_iterators/headers/iterator/synopsis_c++14.cc: New test.
	* testsuite/24_iterators/headers/iterator/synopsis_c++17.cc: New test.
	* testsuite/24_iterators/move_iterator/greedy_ops.cc: Don't test
	difference operator.
	* testsuite/24_iterators/reverse_iterator/greedy_ops.cc: Only test
	difference operator for C++98.
	* testsuite/24_iterators/reverse_iterator/71771.cc: New test.

From-SVN: r239691
2016-08-23 11:13:26 +01:00
..
back_insert_iterator
front_insert_iterator
headers/iterator Implement resolution of LWG DR 685 precisely 2016-08-23 11:13:26 +01:00
insert_iterator
istream_iterator
istreambuf_iterator
move_iterator Implement resolution of LWG DR 685 precisely 2016-08-23 11:13:26 +01:00
normal_iterator
operations
ostream_iterator
ostreambuf_iterator
random_access_iterator
reverse_iterator Implement resolution of LWG DR 685 precisely 2016-08-23 11:13:26 +01:00
container_access.cc
range_access_cpp14.cc
range_access.cc