gcc/libstdc++-v3/include
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
..
backward Update copyright years. 2016-01-04 15:30:50 +01:00
bits Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
c Update copyright years. 2016-01-04 15:30:50 +01:00
c_compatibility Don't define guard macros when doing #include_next in math.h and stdlib.h 2016-02-01 11:13:40 +00:00
c_global Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
c_std Update copyright years. 2016-01-04 15:30:50 +01:00
debug Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
decimal Update copyright years. 2016-01-04 15:30:50 +01:00
experimental Define std::not_fn for C++17 2016-08-19 16:42:34 +01:00
ext Fix missing qualification in <ext/rope> 2016-07-25 13:56:12 +01:00
parallel libstdc++/71856 Define _GLIBCXX_PARALLEL_ASSERTIONS 2016-07-13 18:22:57 +01:00
precompiled Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
profile Update copyright years. 2016-01-04 15:30:50 +01:00
std Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
tr1 Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
tr2 Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.am libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
Makefile.in libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00