C++ iterator wrapping a stream not 1-1
May 17, 2017 [C++, Tech] Series: Iterator, Iterator Wrapper, Non-1-1 Wrapper Sometimes we want to write an iterator that consumes items from some underlying iterator but produces its own items slower than the items it consumes, like this: ColonSep items("aa:foo::x"); // Prints "aa, foo, , x" for(auto s…
Read More