gcc/libstdc++-v3/include/std
Jonathan Wakely 9d4393af9d libstdc++: Constrain std::as_writable_bytes [PR101411]
The std::as_writable_bytes function should be constrained to only accept
writable spans. Currently it can be called but then gives an error in
the function body.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

libstdc++-v3/ChangeLog:

	PR libstdc++/101411
	* include/std/span (as_writable_bytes): Add requires-clause.
	* testsuite/23_containers/span/101411.cc: New test.
2021-07-12 18:35:27 +01:00
..
algorithm
any libstdc++: Fix std::any constraints [PR101034] 2021-06-14 15:10:56 +01:00
array
atomic
barrier [libstdc++] Remove unused hasher instance. 2021-06-08 15:41:31 -07:00
bit
bitset
charconv libstdc++: Disable floating_to_chars.cc on 16 bit targets 2021-05-20 13:21:41 +01:00
chrono libstdc++: Improvements to Doxygen markup 2021-07-01 18:45:48 +01:00
codecvt
complex
concepts libstdc++: Implement LWG 3557 change to convertible_to 2021-06-18 11:51:33 -04:00
condition_variable
coroutine
deque
execution
filesystem
forward_list
fstream
functional
future libstdc++: Fix null dereferences in std::promise 2021-05-04 22:46:24 +01:00
iomanip
ios
iosfwd
iostream
istream libstdc++: Fix constraints for rvalue stream insertion/extraction 2021-05-07 23:45:52 +01:00
iterator
latch
limits
list
locale
map
memory libstdc++: Remove garbage collection support for C++23 [P2186R2] 2021-06-22 20:58:43 +01:00
memory_resource libstdc++: Add warnings for some C++23 deprecations 2021-06-09 10:32:43 +01:00
mutex libstdc++: Only use __gthread_yield if gthreads is available 2021-07-09 15:13:38 +01:00
numbers
numeric libstdc++: Replace incorrect static assertion in std::reduce [PR95833] 2021-06-18 14:46:58 +01:00
optional libstdc++: Fix constraint on std::optional assignment [PR 100982] 2021-06-09 12:45:11 +01:00
ostream libstdc++: Avoid intercepting exception in ostream::write 2021-06-25 18:47:44 +01:00
queue
random
ranges libstdc++: Implement new views::split as per P2210 2021-06-20 12:47:18 -04:00
ratio
regex
scoped_allocator libstdc++: Improve Doxygen documentation groups [PR 101258] 2021-07-01 00:25:46 +01:00
semaphore
set
shared_mutex
source_location
span libstdc++: Constrain std::as_writable_bytes [PR101411] 2021-07-12 18:35:27 +01:00
sstream
stack
stdexcept
stop_token libstdc++: Remove TODO comment 2021-05-10 21:10:34 +01:00
streambuf
string
string_view
syncstream libstdc++: Remove noexcept from syncbuf::swap (LWG 3498) 2021-06-25 18:41:30 +01:00
system_error libstdc++: Improvements to Doxygen markup 2021-07-01 18:45:48 +01:00
thread libstdc++: Fix std::jthread assertion and re-enable skipped test 2021-05-17 17:56:57 +01:00
tuple libstdc++: Use reserved name for attribute [PR101055] 2021-06-14 11:53:29 +01:00
type_traits libstdc++: Improve Doxygen documentation groups [PR 101258] 2021-07-01 00:25:46 +01:00
typeindex
unordered_map
unordered_set
utility
valarray
variant libstdc++: Improve Doxygen documentation groups [PR 101258] 2021-07-01 00:25:46 +01:00
vector
version libstdc++: Implement P2325 changes to default-constructibility of views 2021-06-17 22:29:03 -04:00