range-v3 icon indicating copy to clipboard operation
range-v3 copied to clipboard

ranges::v3::view::interleave in docs but not in source code

Open seertaak opened this issue 7 years ago • 3 comments

As the title suggests, I'm able to find interleave in the documentation, but in the source code, the only place I can find it is in the calendar example -- written as "user code". Is it it intended that interleave is not part of the library? If so, I would kindly request that it be added, since this is indeed a useful utility view. On the other hand, maybe I'm missing something and there is a better alternative -- if so, I'd be grateful to be pointed in the right direction. I note that view::cycle can accomplish a similar goal in some instances.

seertaak avatar Feb 01 '18 07:02 seertaak

:+1: I came here to say there same thing

@ericniebler is there any reason it shouldn't be added?

parnmatt avatar Sep 15 '18 18:09 parnmatt

It's tricky to make it perfectly general. The one in the calendar example makes some assumptions. I was trying to address the shortcomings when I got distracted, and that was over a year ago. Patches welcome.

ericniebler avatar Sep 15 '18 18:09 ericniebler

It's tricky to make it perfectly general. The one in the calendar example makes some assumptions. I was trying to address the shortcomings when I got distracted, and that was over a year ago. Patches welcome.

why interleave view needs store std::vector<range_value_t<Rngs>> instead Rngs?

netcan avatar Jul 27 '21 15:07 netcan