Arrays are sufficient for ArrayLists? Really??

Mehrdad wfunction at hotmail.com
Mon May 16 13:17:45 PDT 2011


On 5/16/2011 1:15 PM, Vladimir Panteleev wrote:
> On Mon, 16 May 2011 23:11:50 +0300, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> I tested the function above.
>
> OP's intention was to create a version of removeAt which modifies the
> array in-place only when there are no other aliases towards the data.
> The initial approach was to attempt to check if the passed array is a
> slice of a larger array, but as it was discussed, it's flawed.
>

+1


More information about the Digitalmars-d mailing list