Ranges
Salih Dincer
salihdb at hotmail.com
Sun Aug 7 05:58:36 UTC 2022
On Saturday, 6 August 2022 at 17:29:30 UTC, Ali Çehreli wrote:
> On 8/6/22 09:33, Salih Dincer wrote:
>
> > the slices feel like ranges, don't they?
>
> Yes because they are ranges. :) (Maybe you meant they don't
> have range member functions, which is true.)
Slices use pointers. Do I need to tell you what the pointers do!
Each of them points to a data. Ranges are not like that, all
they do is generate. Ok, you use a slice just as if it were a
range. But they are not ranges.
SDB at 79
More information about the Digitalmars-d-learn
mailing list