gcc/libstdc++-v3/include/std
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
..
algorithm Update copyright years. 2016-01-04 15:30:50 +01:00
any Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
array Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
atomic Define std::atomic<T>::is_always_lock_free for C++17 2016-08-19 16:42:27 +01:00
bitset Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
chrono Implement C++17 rounding functions for std::chrono (P0092R1) 2016-08-05 14:52:59 +01:00
codecvt Update copyright years. 2016-01-04 15:30:50 +01:00
complex Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
condition_variable Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
deque Update copyright years. 2016-01-04 15:30:50 +01:00
forward_list Update copyright years. 2016-01-04 15:30:50 +01:00
fstream Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
functional Add noexcept to std::function swap 2016-08-22 17:47:34 +01:00
future Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
iomanip Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
ios Update copyright years. 2016-01-04 15:30:50 +01:00
iosfwd Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
iostream Update copyright years. 2016-01-04 15:30:50 +01:00
istream LWG 2328 Rvalue stream extraction should use perfect forwarding 2016-07-20 19:21:53 +01:00
iterator Update copyright years. 2016-01-04 15:30:50 +01:00
limits Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
list Update copyright years. 2016-01-04 15:30:50 +01:00
locale Update copyright years. 2016-01-04 15:30:50 +01:00
map Update copyright years. 2016-01-04 15:30:50 +01:00
memory Update copyright years. 2016-01-04 15:30:50 +01:00
mutex Rename bits/mutex.h to avoid clashing with glibc 2016-01-06 13:00:33 +00:00
numeric Update copyright years. 2016-01-04 15:30:50 +01:00
optional Implement the latest proposed resolution of LWG 2756. 2016-08-18 23:33:57 +03:00
ostream Update copyright years. 2016-01-04 15:30:50 +01:00
queue Update copyright years. 2016-01-04 15:30:50 +01:00
random Update copyright years. 2016-01-04 15:30:50 +01:00
ratio Implement C++17 variable templates for type traits. 2016-07-29 22:01:39 +03:00
regex Update copyright years. 2016-01-04 15:30:50 +01:00
scoped_allocator Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
set Update copyright years. 2016-01-04 15:30:50 +01:00
shared_mutex Define C++17 feature-test macros 2016-08-03 19:11:10 +01:00
sstream Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
stack Update copyright years. 2016-01-04 15:30:50 +01:00
stdexcept Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
streambuf Update copyright years. 2016-01-04 15:30:50 +01:00
string Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
string_view Implement std::string_view and P0254r2, 2016-07-28 18:15:26 +03:00
system_error Implement C++17 variable templates for type traits. 2016-07-29 22:01:39 +03:00
thread Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
tuple Fix ambiguities in C++17 mode 2016-08-19 16:42:11 +01:00
type_traits Define std::is_callable and std::is_nothrow_callable 2016-08-04 19:02:56 +01:00
typeindex Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_map Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_set Update copyright years. 2016-01-04 15:30:50 +01:00
utility Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
valarray Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00
variant Implement <variant> 2016-08-18 20:31:26 +00:00
vector Remove trailing whitespace from libstdc++ headers 2016-06-16 14:47:35 +01:00