Can you zip with the new ranges library?

As you can see, there is no zip_view currently in C++20 (as of this writing).

It was being proposed in P1035R4 (along with a handful of other adapters), the previous version of which was favorable received in San Diego and seemed like it has a very reasonable chance of landing in C++20. There are open questions regarding proxy references, but I don't think that's specific to zip.


Those questions regarding proxy references ended up causing zip to get dropped from P1035 and it was not adopted for C++20. Instead, zip is being proposed for C++23 as part of P2321 (which additionally includes a description of the kinds of proxy reference changes I mentioned).

Tags:

C++

C++20