gcc/libstdc++-v3/testsuite/ext
Jonathan Wakely 06db992005 Add constexpr to <iterator> and <array> for C++17
* include/bits/c++config (_GLIBCXX17_CONSTEXPR): Define.
	* include/bits/range_access.h (begin, end, rbegin, rend, crbegin)
	(crend): Add _GLIBCXX17_CONSTEXPR as per P0031R0.
	* include/bits/stl_iterator.h (reverse_iterator, move_iterator)
	(__make_reverse_iterator, make_reverse_iterator, make_move_iterator):
	Likewise.
	* include/bits/stl_iterator_base_funcs.h (__distance, __advance): Add
	_GLIBCXX14_CONSTEXPR.
	(distance, advance, next, prev): Add _GLIBCXX17_CONSTEXPR.
	* include/std/array (array::begin, array::end, array::rbegin)
	(array::rend, array::cbegin, array:cend, array::crbegin)
	(array::crend, array::operator[], array::at, array::front)
	(array::back, array::data): Likewise.
	* testsuite/24_iterators/headers/iterator/range_access.cc: Replace
	with separate tests for C++11, C++14, and C++17.
	* testsuite/24_iterators/headers/iterator/range_access_c++11.cc: New.
	* testsuite/24_iterators/headers/iterator/range_access_c++14.cc: New.
	* testsuite/24_iterators/headers/iterator/range_access_c++17.cc: New.

From-SVN: r239690
2016-08-23 11:13:12 +01:00
..
array_allocator Update copyright years. 2016-01-04 15:30:50 +01:00
bitmap_allocator Update copyright years. 2016-01-04 15:30:50 +01:00
codecvt Update copyright years. 2016-01-04 15:30:50 +01:00
concurrence_lock_error Update copyright years. 2016-01-04 15:30:50 +01:00
concurrence_unlock_error Update copyright years. 2016-01-04 15:30:50 +01:00
debug_allocator Update copyright years. 2016-01-04 15:30:50 +01:00
enc_filebuf Update copyright years. 2016-01-04 15:30:50 +01:00
ext_pointer Update copyright years. 2016-01-04 15:30:50 +01:00
forced_error Update copyright years. 2016-01-04 15:30:50 +01:00
iota Update copyright years. 2016-01-04 15:30:50 +01:00
is_heap Update copyright years. 2016-01-04 15:30:50 +01:00
is_sorted Update copyright years. 2016-01-04 15:30:50 +01:00
malloc_allocator Update copyright years. 2016-01-04 15:30:50 +01:00
mt_allocator Update copyright years. 2016-01-04 15:30:50 +01:00
new_allocator Update copyright years. 2016-01-04 15:30:50 +01:00
numeric_traits Update copyright years. 2016-01-04 15:30:50 +01:00
pb_ds Adjust testcases for C++17 compatibility 2016-08-17 14:39:05 +01:00
pool_allocator Update copyright years. 2016-01-04 15:30:50 +01:00
profile Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
random Update copyright years. 2016-01-04 15:30:50 +01:00
rope Simplify dg-options for tests using pthreads 2016-08-19 17:36:07 +01:00
slist Update copyright years. 2016-01-04 15:30:50 +01:00
special_functions Only run math special function tests for C++11 and later 2016-08-02 14:32:16 +01:00
stdio_filebuf Update copyright years. 2016-01-04 15:30:50 +01:00
stdio_sync_filebuf Update copyright years. 2016-01-04 15:30:50 +01:00
throw_allocator Update copyright years. 2016-01-04 15:30:50 +01:00
throw_value Update copyright years. 2016-01-04 15:30:50 +01:00
type_traits libstdc++/69406 Fix test to check for supported headers 2016-01-21 13:33:27 +00:00
vstring Update copyright years. 2016-01-04 15:30:50 +01:00
concept_checks.cc Update copyright years. 2016-01-04 15:30:50 +01:00
headers.cc Update copyright years. 2016-01-04 15:30:50 +01:00
median.cc Update copyright years. 2016-01-04 15:30:50 +01:00
pod_char_traits.cc Update copyright years. 2016-01-04 15:30:50 +01:00