Reputation: 651
In Eric Niebler's range-v3 calendar example he uses interleave followed by chunk to transpose a matrix.
I wonder why interleave is not part of the range-v3 library...
Upvotes: 3
Views: 348
Reputation: 6177
Lack of time, and some unsolved design difficulties. For instance, what does it mean to interleave ranges of different lengths? That wasn't a problem in the calendar example, but it's a question that needs to have an answer before the interleave view can be part of range-v3.
Upvotes: 3