Python has interesting ways to combine and build iterators (see itertools). I am particularly interested in the functionality of repeat, cycle and chain. Other iterators there are also interesting.
Are these iterators implemented in C++ or boost? I found Boost's adaptors, but I don't think it would be possible to implement the iterators repeat, cycle and chain.
I can of course write my own iterator classes for these (and others in itertools), but I wanted to check that this wheel hasn't already been invented.