Dynamic / resizable array type, and a crash problem

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 14 06:50:15 PDT 2015


On Thursday, 14 May 2015 at 13:26:27 UTC, ivoras wrote:
> Is it resizable?

You can append with the ~= operator and size down by slicing it.

> Apparently it doesn't even have an "insert" method: 
> http://dlang.org/phobos/std_array.html .

http://dlang.org/phobos/std_array.html#insertInPlace

is the one you'd use for that.


More information about the Digitalmars-d-learn mailing list