diff options
author | Patrick Palka <ppalka@redhat.com> | 2022-08-24 19:17:27 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2022-08-24 19:17:27 -0400 |
commit | 49e25d3e29aa1b56e6e82654de1a452a6cedc265 (patch) | |
tree | 4c13c1fbfeed2a59a2b21b65c7522832d050da4b /gcc | |
parent | e5428086c2c8daf69e5916dd5016d1e7b85d3f0d (diff) | |
download | gcc-49e25d3e29aa1b56e6e82654de1a452a6cedc265.zip gcc-49e25d3e29aa1b56e6e82654de1a452a6cedc265.tar.gz gcc-49e25d3e29aa1b56e6e82654de1a452a6cedc265.tar.bz2 |
libstdc++: Implement ranges::zip_view from P2321R2
libstdc++-v3/ChangeLog:
* include/bits/ranges_algo.h (__min_fn, min): Move to ...
* include/bits/ranges_util.h: ... here, in order to avoid
including all of ranges_algo.h from <ranges>.
* include/std/ranges (__detail::__zip_is_common): Define for
C++23 as per P2321R2.
(__detail::__tuple_or_pair): Likewise.
(__detail::__tuple_or_pair_t): Likewise.
(__detail::__tuple_transform): Likewise.
(__detail::__tuple_for_each): Likewise.
(zip_view): Likewise.
(enable_borrowed_range<zip_view>): Likewise.
(__detail::__all_random_access): Likewise.
(__detail::__all_bidirectional): Likewise.
(__detail::__all_forward): Likewise.
(__detail::__zip_view_iter_cat): Likewise.
(zip_view::_Iterator): Likewise.
(zip_view::_Sentinel): Likewise.
* testsuite/std/ranges/zip/1.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions