Embedded Multicore Building Blocks V1.0.0
|
Container for the values of two dereferenced iterators. More...
#include <zip_iterator.h>
Public Member Functions | |
ZipPair (TypeA first, TypeB second) | |
Constructs a pair from two values. More... | |
ZipPair (const ZipPair &other) | |
Copies a pair. More... | |
TypeA | First () |
Returns the first value of the pair. More... | |
TypeB | Second () |
Returns the second value of the pair. More... | |
const TypeA | First () const |
Returns the first value of the pair. More... | |
const TypeB | Second () const |
Returns the second value of the pair. More... | |
Container for the values of two dereferenced iterators.
The values contained are of type std::iterator_traits<Iterator>::reference
.
TypeA | Type of the first value |
TypeB | Type of the first value |
embb::algorithms::ZipPair< TypeA, TypeB >::ZipPair | ( | TypeA | first, |
TypeB | second | ||
) |
Constructs a pair from two values.
[in] | first | First value |
[in] | second | Second value |
embb::algorithms::ZipPair< TypeA, TypeB >::ZipPair | ( | const ZipPair< TypeA, TypeB > & | other | ) |
Copies a pair.
[in] | other | pair to copy |
TypeA embb::algorithms::ZipPair< TypeA, TypeB >::First | ( | ) |
Returns the first value of the pair.
TypeB embb::algorithms::ZipPair< TypeA, TypeB >::Second | ( | ) |
Returns the second value of the pair.
const TypeA embb::algorithms::ZipPair< TypeA, TypeB >::First | ( | ) | const |
Returns the first value of the pair.
const TypeB embb::algorithms::ZipPair< TypeA, TypeB >::Second | ( | ) | const |
Returns the second value of the pair.