At this answer here on SO, there's a comment suggesting a useful C++ construct, similar to make_zip_iterator
, but for ranges: It takes a tuple of ranges and produces a new range - whose begin() and end() iterators are the appropriate zip iterators.
Now, this should not be too difficult to implement, but I was wondering - Isn't already offered already by Boost somehow?