gcc/libstdc++-v3/include/std
Martin Sebor 756eabacfc Declare std::array members with attribute const [PR101831].
Resolves:
PR libstdc++/101831 - Spurious maybe-uninitialized warning on std::array::size

libstdc++-v3/ChangeLog:

	PR libstdc++/101831
	* include/std/array (begin): Declare const member function attribute
	const.
	(end, rbegin, rend, size, max_size, empty, data): Same.
	* testsuite/23_containers/array/capacity/empty.cc: Add test cases.
	* testsuite/23_containers/array/capacity/max_size.cc: Same.
	* testsuite/23_containers/array/capacity/size.cc: Same.
	* testsuite/23_containers/array/iterators/begin_end.cc: New test.
2022-02-01 17:21:49 -07:00
..
algorithm Update copyright years. 2022-01-03 10:42:10 +01:00
any Update copyright years. 2022-01-03 10:42:10 +01:00
array Declare std::array members with attribute const [PR101831]. 2022-02-01 17:21:49 -07:00
atomic libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
barrier Update copyright years. 2022-01-03 10:42:10 +01:00
bit Update copyright years. 2022-01-03 10:42:10 +01:00
bitset Update copyright years. 2022-01-03 10:42:10 +01:00
charconv libstdc++: Do not use std::isdigit in <charconv> [PR103911] 2022-01-06 14:56:12 +00:00
chrono Update copyright years. 2022-01-03 10:42:10 +01:00
codecvt Update copyright years. 2022-01-03 10:42:10 +01:00
complex libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
concepts Update copyright years. 2022-01-03 10:42:10 +01:00
condition_variable Update copyright years. 2022-01-03 10:42:10 +01:00
coroutine libstdc++: Install <coroutine> header for freestanding [PR103726] 2022-01-11 13:28:46 +00:00
deque Update copyright years. 2022-01-03 10:42:10 +01:00
execution Update copyright years. 2022-01-03 10:42:10 +01:00
filesystem libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
forward_list Update copyright years. 2022-01-03 10:42:10 +01:00
fstream Update copyright years. 2022-01-03 10:42:10 +01:00
functional libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
future Update copyright years. 2022-01-03 10:42:10 +01:00
iomanip libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
ios Update copyright years. 2022-01-03 10:42:10 +01:00
iosfwd Update copyright years. 2022-01-03 10:42:10 +01:00
iostream Update copyright years. 2022-01-03 10:42:10 +01:00
istream Update copyright years. 2022-01-03 10:42:10 +01:00
iterator Update copyright years. 2022-01-03 10:42:10 +01:00
latch Update copyright years. 2022-01-03 10:42:10 +01:00
limits Update copyright years. 2022-01-03 10:42:10 +01:00
list Update copyright years. 2022-01-03 10:42:10 +01:00
locale Update copyright years. 2022-01-03 10:42:10 +01:00
map Update copyright years. 2022-01-03 10:42:10 +01:00
memory Update copyright years. 2022-01-03 10:42:10 +01:00
memory_resource Update copyright years. 2022-01-03 10:42:10 +01:00
mutex libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
numbers Update copyright years. 2022-01-03 10:42:10 +01:00
numeric libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
optional Update copyright years. 2022-01-03 10:42:10 +01:00
ostream libstdc++: Optimize std::ostream inserters for single characters 2022-01-11 13:28:46 +00:00
queue Update copyright years. 2022-01-03 10:42:10 +01:00
random Update copyright years. 2022-01-03 10:42:10 +01:00
ranges libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593) 2022-01-11 15:17:27 +00:00
ratio Update copyright years. 2022-01-03 10:42:10 +01:00
regex Update copyright years. 2022-01-03 10:42:10 +01:00
scoped_allocator Update copyright years. 2022-01-03 10:42:10 +01:00
semaphore Update copyright years. 2022-01-03 10:42:10 +01:00
set Update copyright years. 2022-01-03 10:42:10 +01:00
shared_mutex Update copyright years. 2022-01-03 10:42:10 +01:00
source_location Update copyright years. 2022-01-03 10:42:10 +01:00
span Update copyright years. 2022-01-03 10:42:10 +01:00
spanstream libstdc++: Fix std::spanstream move assignment [PR104032] 2022-01-23 22:48:33 +00:00
sstream Update copyright years. 2022-01-03 10:42:10 +01:00
stack Update copyright years. 2022-01-03 10:42:10 +01:00
stacktrace libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
stdexcept Update copyright years. 2022-01-03 10:42:10 +01:00
stop_token Update copyright years. 2022-01-03 10:42:10 +01:00
streambuf Update copyright years. 2022-01-03 10:42:10 +01:00
string Update copyright years. 2022-01-03 10:42:10 +01:00
string_view libstdc++: Limit new basic_string(nullptr_t) constructor to C++23 [PR104099] 2022-01-18 20:41:46 +00:00
syncstream Update copyright years. 2022-01-03 10:42:10 +01:00
system_error Update copyright years. 2022-01-03 10:42:10 +01:00
thread Update copyright years. 2022-01-03 10:42:10 +01:00
tuple libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
type_traits libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
typeindex Update copyright years. 2022-01-03 10:42:10 +01:00
unordered_map Update copyright years. 2022-01-03 10:42:10 +01:00
unordered_set Update copyright years. 2022-01-03 10:42:10 +01:00
utility Update copyright years. 2022-01-03 10:42:10 +01:00
valarray Update copyright years. 2022-01-03 10:42:10 +01:00
variant libstdc++: Make std::variant work with Clang in C++20 mode [PR103891] 2022-01-11 13:22:35 +00:00
vector Update copyright years. 2022-01-03 10:42:10 +01:00
version libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00