Embedded Multicore Building Blocks V1.0.0
Classes | Functions
Zip Iterator

Zip two iterators. More...

Classes

class  embb::algorithms::ZipPair< TypeA, TypeB >
 Container for the values of two dereferenced iterators. More...
 
class  embb::algorithms::ZipIterator< IteratorA, IteratorB >
 Zip container for two iterators. More...
 

Functions

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...
 

Detailed Description

Zip two iterators.

Function Documentation

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
IteratorAType of first iterator
IteratorBType of second iterator
Parameters
[in]iter_aFirst iterator
[in]iter_bSecond iterator