Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2023. The current version is 1.89.0.
boost::compute::make_zip_iterator
// In header: <boost/compute/iterator/zip_iterator.hpp> template<typename IteratorTuple> zip_iterator< IteratorTuple > make_zip_iterator(IteratorTuple iterators);
Creates a zip_iterator for iterators.
For example, to zip together iterators from three vectors (a, b, and c):
auto zipped = boost::compute::make_zip_iterator( boost::make_tuple(a.begin(), b.begin(), c.begin()) );
Parameters: |
|
||
Returns: |
a |