20 void ViewsTest::testZipView ()
26 for (
const auto& pair :
Views::Zip (ints, strings))
29 QCOMPARE (pairs, (
Zip (ints, strings)));
32 void ViewsTest::testZipViewDifferentLengths ()
38 for (
const auto& pair :
Views::Zip (ints, strings))
41 QCOMPARE (pairs, (
Zip (ints, strings)));
detail::ZipRange< typename C1::const_iterator, typename C2::const_iterator, PairType > Zip(const C1 &c1, const C2 &c2)
auto Zip(const Container< T1 > &c1, const Container< T2 > &c2) -> Container< Pair< T1, T2 > >