29 #include "lib/util-tuple.hpp" 38 using std::tuple_size_v;
44 typedef std::vector<uint> VecI;
52 someNumbz (uint count)
55 numbers.reserve(count);
57 numbers.push_back(count--);
88 VecI container = someNumbz (5);
89 RangeI iterator(container.begin(), container.end());
91 CHECK (not isnil (iterator));
92 auto tup = seqTuple<5> (iterator);
93 CHECK ( isnil (iterator));
94 CHECK (5 == tuple_size_v<decltype(tup)>);
96 auto& [g,f,e,d,c] = tup;
104 CHECK (55 == std::get<0> (tup));
105 CHECK (55 == container.front());
Helper template(s) for creating Lumiera Forward Iterators.
Simple test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
void verify_unpackIterator()
Accessing a STL element range through a Lumiera forward iterator, An instance of this iterator adapte...