]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Implement LWG 3563 changes to keys_view and values_view
authorPatrick Palka <ppalka@redhat.com>
Thu, 14 Nov 2024 18:27:41 +0000 (13:27 -0500)
committerPatrick Palka <ppalka@redhat.com>
Thu, 14 Nov 2024 18:27:41 +0000 (13:27 -0500)
commit361050589b144913ec05d9d8e10639afa98319a8
treeab33c08418de5e3e6721b8d7a53824f546d58a56
parent4a3a0be34f723df192361e43bb48b9292dfe3a54
libstdc++: Implement LWG 3563 changes to keys_view and values_view

This LWG issue corrects the definition of these alias templates to make
them suitable for alias CTAD.

libstdc++-v3/ChangeLog:

* include/std/ranges (keys_view): Adjust as per LWG 3563.
(values_view): Likewise.
* testsuite/std/ranges/adaptors/elements.cc (test08): New test.

Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/include/std/ranges
libstdc++-v3/testsuite/std/ranges/adaptors/elements.cc