Zip two iterators.
More...
|
template<typename IteratorA , typename IteratorB > |
ZipIterator< IteratorA, IteratorB > | embb::algorithms::Zip (IteratorA iter_a, IteratorB iter_b) |
| Creates a zip iterator from two iterators. More...
|
|
Zip two iterators.
template<typename IteratorA , typename IteratorB >
ZipIterator<IteratorA, IteratorB> embb::algorithms::Zip |
( |
IteratorA |
iter_a, |
|
|
IteratorB |
iter_b |
|
) |
| |
Creates a zip iterator from two iterators.
This is a convenience function which avoids calling the constructor of the templated class.
- Returns
- Constructed zip iterator
- Template Parameters
-
IteratorA | Type of first iterator |
IteratorB | Type of second iterator |
- Parameters
-
[in] | iter_a | First iterator |
[in] | iter_b | Second iterator |