https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110352

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tomasz Kaminski <[email protected]>:

https://gcc.gnu.org/g:bfd41adc6178abb55d2a019f0d7e755ee097f548

commit r16-4288-gbfd41adc6178abb55d2a019f0d7e755ee097f548
Author: Luc Grosheintz <[email protected]>
Date:   Mon Sep 29 08:00:19 2025 +0200

    libstdc++: Implement std::layout_right_padded [PR110352].

    This commit adds the right padded layout as described in N5014, with
    LWG4372 (dynamic padding value) and LWG4314 (move in operator()).

            PR libstdc++/110352

    libstdc++-v3/ChangeLog:

            * include/std/mdspan (_RightPaddedIndices): Traits for right
            padded layouts.
            (layout_right::mapping::mapping) New overload for right padded
            layouts.
            (layout_right_padded): Add implementation.
            * src/c++23/std.cc.in (layout_right_padded): Add.
            * testsuite/23_containers/mdspan/layouts/ctors.cc: Update
            test for right padded layouts.
            * testsuite/23_containers/mdspan/layouts/empty.cc: Ditto.
            * testsuite/23_containers/mdspan/layouts/mapping.cc: Ditto.
            * testsuite/23_containers/mdspan/layouts/padded.cc: Ditto.
            * testsuite/23_containers/mdspan/layouts/padded_neg.cc: Ditto.
            * testsuite/23_containers/mdspan/layouts/padded_traits.h: Ditto.

    Reviewed-by: Tomasz KamiÅski <[email protected]>
    Signed-off-by: Luc Grosheintz <[email protected]>

Reply via email to