On 8/6/22 22:58, Salih Dincer wrote: > Ranges are not like that, all they do is > generate.
You may be right. I've never seen it that way. I've been under the following impression:- C++'s iterators are based on an existing concept: pointers. Pointers are iterators.
- D's ranges are based on an existing concept: slices. Slices are ranges. However, I can't find where I read that. Ali