Ali Çehreli acehreli at yahoo.com
Sun Aug 7 22:14:53 UTC 2022

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.


More information about the Digitalmars-d-learn mailing list