Removing from SList (std.container)...

Roman D. Boiko rb at d-coding.com
Wed Jun 27 14:31:43 PDT 2012


On Wednesday, 27 June 2012 at 21:22:31 UTC, Tobias Pankrath wrote:
>> E.g., to point to an element in the middle of some range we 
>> would need to create another range and pass it to a function 
>> along with the original range. I would hesitate to call them 
>> ranges unless that is explicitly a goal for some particular 
>> application. If that was the case, it would require an 
>> explicit explanation. (IMO)
>
> Why pass the original range?

I mean the range on which to perform an operation. It could be 
passed via this parameter of member function or explicitly. It 
could be not needed for some operations (trivial, like copy or 
compare).


More information about the Digitalmars-d-learn mailing list