std.experimental.collection.functional.slist

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 19 06:39:15 PDT 2015


On 6/19/15 6:31 AM, Andrei Alexandrescu wrote:
> @disable void opAssign(SList);
>
> i.e. once an SList is constructed, it'll always contain the same data.
> If you need a modified list, you create another one.

Eh, I was unclear here. What I meant:

i.e. once a variable of type SList is constructed, it'll always contain 
the same data. If you need a modified list, you create another variable.


Andrei



More information about the Digitalmars-d mailing list