Construct D Arrray with explicit capacity
Nordlöw via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Oct 30 12:16:14 PDT 2016
On Sunday, 30 October 2016 at 18:26:54 UTC, arturg wrote:
> you cant mutate capacity directly because its only a getter but
> you could use arr.reserve(someVal);
Thx!
More information about the Digitalmars-d-learn
mailing list