]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++/pair: Guard P2321R2 changes with __glibcxx_ranges_zip
authorPatrick Palka <ppalka@redhat.com>
Thu, 18 Jan 2024 16:21:34 +0000 (11:21 -0500)
committerPatrick Palka <ppalka@redhat.com>
Thu, 18 Jan 2024 16:21:34 +0000 (11:21 -0500)
commit8cddf6f833e1c7a132fff9fa407cedf9fdf38bd9
treed35580eab7e890b24c2c6c0257afc6cc79f258f4
parentae8581ea5c525b6418ec011439de4d870da173d2
libstdc++/pair: Guard P2321R2 changes with __glibcxx_ranges_zip

Similar to the previous change for <tuple>, but since stl_pair.h is an
internal header we need to use the corresponding internal macro instead.

libstdc++-v3/ChangeLog:

* include/bits/stl_pair.h [__cplusplus > 202002L]:
Guard P2321R2 changes with __glibcxx_ranges_zip instead.

Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/include/bits/stl_pair.h