Construct D Arrray with explicit capacity

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Oct 30 11:10:09 PDT 2016


Is there a recommended way to create a builtin D array with a 
given capacity?

I'm aware of the `.capacity` property.

Is it ok to mutate it?


More information about the Digitalmars-d-learn mailing list