remove element(s) from dyn array

Dmitry Olshansky dmitry.olsh at gmail.com
Fri Nov 19 06:55:24 PST 2010


On 19.11.2010 17:53, Dmitry Olshansky wrote:
> On 19.11.2010 16:11, spir wrote:
>> Hello,
>>
>>
>> * What is the D-idiomatic way to remove an element from a dynamic array?
>> * Ditto, for a slice, but with the 2 variants expression vs statement:
>>     a.removeSlice(i1, i2);
> That would most likely be:
> std.array;
Ehm, that should have been import std.array.
[snip]

-- 
Dmitry Olshansky



More information about the Digitalmars-d-learn mailing list