[committed] libstdc++: Update __cpp_lib_adaptor_iterator_pair_constructor value

Jonathan Wakely jwakely@redhat.com
Tue Oct 5 08:37:45 GMT 2021


On 01/10/21 20:43 +0100, Jonathan Wakely wrote:
>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.

I forgot to update the patch to use the final value of the feature
test macro. It should be 202106L.

Tested powerpc64le-linux. Committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 3957 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211005/de848286/attachment.bin>


More information about the Gcc-patches mailing list