gcc/libstdc++-v3/testsuite/23_containers
Jonathan Wakely b7e8fb5e48 libstdc++: Add container adaptor constructors taking iterators (P1425R4)
This adds a feature that was recently added to the C++23 working draft.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

libstdc++-v3/ChangeLog:

	* include/bits/stl_queue.h
	(__cpp_lib_adaptor_iterator_pair_constructor): Define for C++23, as
	per P1425R4.
	(queue(InputIterator, InputIterator)): Likewise.
	(queue(InputIterator, InputIterator, const Alloc&)): Likewise.
	* include/bits/stl_stack.h
	(__cpp_lib_adaptor_iterator_pair_constructor): Likewise.
	(stack(InputIterator, InputIterator)): Likewise.
	(stack(InputIterator, InputIterator, const Alloc&)): Likewise.
	* include/std/version (__cpp_lib_adaptor_iterator_pair_constructor):
	Define.
	* testsuite/23_containers/queue/cons_from_iters.cc: New test.
	* testsuite/23_containers/stack/cons_from_iters.cc: New test.
2021-10-01 20:36:55 +01:00
..
array libstdc++: Add [[nodiscard]] to sequence containers 2021-08-04 12:54:29 +01:00
bitset Update copyright years. 2021-01-04 10:26:59 +01:00
deque libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
forward_list libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
headers Update copyright years. 2021-01-04 10:26:59 +01:00
list libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
map libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
multimap libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
multiset libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
priority_queue libstdc++: Implement LWG 3506 for std::priority_queue 2021-10-01 20:36:55 +01:00
queue libstdc++: Add container adaptor constructors taking iterators (P1425R4) 2021-10-01 20:36:55 +01:00
set libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
span libstdc++: Add valid range checks to std::span constructors [PR98421] 2021-08-31 19:13:55 +01:00
stack libstdc++: Add container adaptor constructors taking iterators (P1425R4) 2021-10-01 20:36:55 +01:00
unordered_map libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
unordered_multimap libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
unordered_multiset libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
unordered_set libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00
vector libstdc++: Skip tests that fail with _GLIBCXX_CONCEPT_CHECKS 2021-09-28 20:22:51 +01:00