20 #include "lib/util-tuple.hpp" 29 using std::tuple_size_v;
35 using VecI = std::vector<uint>;
42 someNumbz (uint count)
45 numbers.reserve(count);
47 numbers.push_back(count--);
78 VecI container = someNumbz (5);
79 RangeI iterator(container.begin(), container.end());
81 CHECK (not isnil (iterator));
82 auto tup = seqTuple<5> (iterator);
83 CHECK ( isnil (iterator));
84 CHECK (5 == tuple_size_v<decltype(tup)>);
86 auto& [g,f,e,d,c] = tup;
94 CHECK (55 == std::get<0> (tup));
95 CHECK (55 == container.front());
Helper template(s) for creating Lumiera Forward Iterators.
Simplistic 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...