[Bug libstdc++/110352] [C++26] P2630R4 submdspan
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 2 15:34:03 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110352
--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tomasz Kaminski <tkaminsk@gcc.gnu.org>:
https://gcc.gnu.org/g:c915bfc0f7d2e27b7ebc5bae1e30cdb1ae078255
commit r16-5838-gc915bfc0f7d2e27b7ebc5bae1e30cdb1ae078255
Author: Luc Grosheintz <luc.grosheintz@gmail.com>
Date: Mon Dec 1 09:41:38 2025 +0100
libstdc++: Implement submdspan_extents. [PR110352]
Implement submdspan_extents as described in P3663 and adds it to the std
module.
PR libstdc++/110352
libstdc++-v3/ChangeLog:
* include/std/mdspan (submdspan_extents): New function.
* src/c++23/std.cc.in: Add submdspan_extents.
* testsuite/23_containers/mdspan/int_like.h: Add StructuralInt.
* testsuite/23_containers/mdspan/submdspan/submdspan_extents.cc:
New test.
*
testsuite/23_containers/mdspan/submdspan/submdspan_extents_neg.cc: New test.
Reviewed-by: Tomasz KamiÅski <tkaminsk@redhat.com>
Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
More information about the Gcc-bugs
mailing list