gcc/libstdc++-v3/testsuite/23_containers
Luc Grosheintz bfd41adc61 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 <tkaminsk@redhat.com>
Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
2025-10-08 11:35:43 +02:00
..
array c++: Unwrap type traits defined in terms of builtins within diagnostics [PR117294] 2025-07-25 08:18:45 +10:00
bitset libstdc++: Constrain bitset(const CharT*) constructor [PR121046] 2025-08-28 14:00:48 +01:00
deque libstdc++: fix element construction in std::deque::emplace [PR118087] 2025-09-23 16:38:28 +01:00
flat_map libstdc++: Fix flat_map::operator[] for const lvalue keys [PR120432] 2025-06-06 09:34:17 -04:00
flat_multimap libstdc++: Fix tuple/pair confusion with std::erase_if(flat_map) [PR120465] 2025-05-29 10:11:57 -04:00
flat_multiset libstdc++: Fix availability of std::erase_if(std::flat_foo) [PR119427] 2025-04-29 08:21:35 -04:00
flat_set libstdc++: Fix availability of std::erase_if(std::flat_foo) [PR119427] 2025-04-29 08:21:35 -04:00
forward_list libstdc++: Remove unnecessary dg-prune-output from tests 2025-04-24 23:12:04 +01:00
headers Update copyright years. 2025-01-02 11:59:57 +01:00
inplace_vector libstdc++: Support braces as arguments for std::erase on inplace_vector [PR121196] 2025-07-28 08:32:47 +02:00
list libstdc++: Remove unnecessary dg-prune-output from tests 2025-04-24 23:12:04 +01:00
map libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
mdspan libstdc++: Implement std::layout_right_padded [PR110352]. 2025-10-08 11:35:43 +02:00
multimap libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
multiset libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
priority_queue libstdc++: Define __cpp_lib_containers_ranges in appropriate headers [PR111055] 2025-04-11 13:56:03 +02:00
queue libstdc++: Define __cpp_lib_containers_ranges in appropriate headers [PR111055] 2025-04-11 13:56:03 +02:00
set libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
span libstdc++: Apply LWG4351 to CTAD of span/mdspan. 2025-09-10 12:46:57 +02:00
stack libstdc++: Define __cpp_lib_containers_ranges in appropriate headers [PR111055] 2025-04-11 13:56:03 +02:00
unordered_map libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
unordered_multimap libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
unordered_multiset libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
unordered_set libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
vector libstdc++: Do not require assignment for vector::resize(n, v) [PR90192] 2025-08-26 18:18:32 +02:00
default_template_value.cc libstdc++: add default template parameters to algorithms 2024-09-22 17:45:05 +01:00