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
any
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
bit
bitset
charconv libstdc++: Do not use std::isdigit in <charconv> [PR103911] 2022-01-06 14:56:12 +00:00
chrono
codecvt
complex libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
concepts
condition_variable
coroutine libstdc++: Install <coroutine> header for freestanding [PR103726] 2022-01-11 13:28:46 +00:00
deque
execution
filesystem libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
forward_list
fstream
functional libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
future
iomanip libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
ios
iosfwd
iostream
istream
iterator
latch
limits
list
locale
map
memory
memory_resource
mutex libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
numbers
numeric libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
optional
ostream libstdc++: Optimize std::ostream inserters for single characters 2022-01-11 13:28:46 +00:00
queue
random
ranges libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593) 2022-01-11 15:17:27 +00:00
ratio
regex
scoped_allocator
semaphore
set
shared_mutex
source_location
span
spanstream libstdc++: Fix std::spanstream move assignment [PR104032] 2022-01-23 22:48:33 +00:00
sstream
stack
stacktrace libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
stdexcept
stop_token
streambuf
string
string_view libstdc++: Limit new basic_string(nullptr_t) constructor to C++23 [PR104099] 2022-01-18 20:41:46 +00:00
syncstream
system_error
thread
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
unordered_map
unordered_set
utility
valarray
variant libstdc++: Make std::variant work with Clang in C++20 mode [PR103891] 2022-01-11 13:22:35 +00:00
vector
version libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00