Beginner: How does an object delete itself?

bearophile bearophileHUGS at lycos.com
Sun Sep 21 09:31:07 PDT 2008


Simen Kjaeraas:
> // If order is important, iterate through rest of array, moving elements one step forward

I'd like to use the normal D slice syntax for this copying, but you can't, because that syntax can be used only when arrays don't overlap.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list