Open utterances-bot opened 1 year ago
VC2022 now has ranges::to - but still not proper support for ranges::zip/zip_transform. Ahhh...
My favourite feature of ranges is std::views:split
what is the equivalent of std::views::zip_transform
in range v3
library?
Combining Collections with Zip in C++23 for Efficient Data Processing - C++ Stories
In this article, we’ll look at a super handy ranges view in C++23 - views::zip. In short, it allows you to combine two or more ranges and iterate through them simultaneously. Let’s see how to use it. Basic If you have two (or more) separate containers and you want to iterate through them “in parallel,” you can write the following code:
https://www.cppstories.com/2023/view-zip/