41 void ViewsTest::testZipView ()
47 for (
const auto& pair :
Views::Zip (ints, strings))
50 QCOMPARE (pairs, (
Zip (ints, strings)));
53 void ViewsTest::testZipViewDifferentLengths ()
59 for (
const auto& pair :
Views::Zip (ints, strings))
62 QCOMPARE (pairs, (
Zip (ints, strings)));
auto Zip(const Container< T1 > &c1, const Container< T2 > &c2) -> Container< Pair< T1, T2 >>
detail::ZipRange< typename C1::const_iterator, typename C2::const_iterator, PairType > Zip(const C1 &c1, const C2 &c2)