diff options
author | Luc Grosheintz <luc.grosheintz@gmail.com> | 2025-07-08 10:24:26 +0200 |
---|---|---|
committer | Tomasz Kamiński <tkaminsk@redhat.com> | 2025-07-08 14:57:59 +0200 |
commit | b7b8eb90abaeaaf4a51325e087cd43a4dac8d25a (patch) | |
tree | 587d7b705ca10df77ca65f926be7c8ddea0d68ac /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | df7ae00856f52ec9d53a62facf0b917ec868d625 (diff) | |
download | gcc-b7b8eb90abaeaaf4a51325e087cd43a4dac8d25a.zip gcc-b7b8eb90abaeaaf4a51325e087cd43a4dac8d25a.tar.gz gcc-b7b8eb90abaeaaf4a51325e087cd43a4dac8d25a.tar.bz2 |
libstdc++: Implement mdspan and tests [PR107761].
Implements the class mdspan as described in N4950, i.e. without P3029.
It also adds tests for mdspan. This commit completes the implementation
of P0009, i.e. the C++23 part <mdspan>.
PR libstdc++/107761
libstdc++-v3/ChangeLog:
* include/std/mdspan (mdspan): New class.
* src/c++23/std.cc.in (mdspan): Add.
* testsuite/23_containers/mdspan/class_mandate_neg.cc: New test.
* testsuite/23_containers/mdspan/mdspan.cc: New test.
* testsuite/23_containers/mdspan/layout_like.h: Add class
LayoutLike which models a user-defined layout.
Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com>
Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions