Opened 11 years ago

Closed 9 years ago

#6267 closed Feature Requests (fixed)

Python-like Zip range

Reported by: jmckesson@… Owned by: Neil Groves
Milestone: To Be Determined Component: range
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

Boost.Iterator already has the zip_iterator, which allows iterating over multiple containers at once. But we don't have a range version.

This should be a varadic template called zip or something of the kind that returns a proper range that uses zip_iterators to iterate over containers.

Change History (5)

comment:1 by mahmoud.shaikh@…, 10 years ago

This feature will be of extremely usefull

comment:2 by mahmoud.shaikh@…, 10 years ago

This will be extremely useful*

comment:3 by anonymous, 10 years ago

I LIKE VAGISIL

comment:4 by answeror@…, 10 years ago

See boost/range/combine.hpp. It's not mentioned in the document. (up to 1.51.0)

comment:5 by Neil Groves, 9 years ago

Resolution: fixed
Status: newclosed

Reimplemented and documented on the develop branch. Will be merged for the 1.56 release.

Note: See TracTickets for help on using tickets.