[PATCH v3 0/4] libstdc++: Implement padded layouts.
Luc Grosheintz
luc.grosheintz@gmail.com
Tue Sep 23 13:10:02 GMT 2025
Changes since v2:
- Refactored/rewrote the implementation of layout_left_padded.
- Added implementation of layout_right_padded.
- Implemented the review comments.
Luc Grosheintz (4):
libstdc++: Prepare mapping layout tests for padded layouts.
libstdc++: Refactor __mdspan::__static_quotient.
libstdc++: Implement std::layout_left_padded.
libstdc++: Implement layout_right_padded.
libstdc++-v3/include/bits/version.def | 10 +
libstdc++-v3/include/bits/version.h | 9 +
libstdc++-v3/include/std/mdspan | 947 +++++++++++++++++-
libstdc++-v3/src/c++23/std.cc.in | 9 +-
.../mdspan/layouts/class_mandate_neg.cc | 1 +
.../23_containers/mdspan/layouts/ctors.cc | 70 +-
.../23_containers/mdspan/layouts/empty.cc | 161 +--
.../23_containers/mdspan/layouts/mapping.cc | 242 ++++-
.../23_containers/mdspan/layouts/padded.cc | 679 +++++++++++++
.../mdspan/layouts/padded_neg.cc | 352 +++++++
.../mdspan/layouts/padded_traits.h | 192 ++++
11 files changed, 2535 insertions(+), 137 deletions(-)
create mode 100644 libstdc++-v3/testsuite/23_containers/mdspan/layouts/padded.cc
create mode 100644 libstdc++-v3/testsuite/23_containers/mdspan/layouts/padded_neg.cc
create mode 100644 libstdc++-v3/testsuite/23_containers/mdspan/layouts/padded_traits.h
--
2.50.1
More information about the Libstdc++
mailing list