Iterators and Ranges: Comparing C++ to D to Rust

Steven Schveighoffer schveiguy at gmail.com
Wed Jun 16 12:54:48 UTC 2021


On 6/15/21 2:35 PM, Walter Bright wrote:
> On 6/14/2021 7:29 AM, Steven Schveighoffer wrote:
>> I wonder if there is room for hobbled iterators (cursors) to be in D 
>> in some capacity.
> 
> Have them be an index, rather than a pointer.
> 

How does this work on a linked list?

-Steve


More information about the Digitalmars-d mailing list