istream_iterator

Posted on Fri 18 June 2021 in tech • Tagged with programming, chunked, iterator, c++

Although c++ is already imbued with the kitchen sink, it seems to lack a chunked character iterator for input streams.

Here is a little repository to implement that: Block Iterator

An example looks like any istream iterator idiom:

constexpr auto N = 3;
const auto example = "AAABBBCCC";
std::istringstream ss(example …

Continue reading