How to reserve memory for a slice in a struct

evilrat evilrat666 at gmail.com
Tue May 7 04:49:06 PDT 2013


On Tuesday, 7 May 2013 at 10:58:42 UTC, John Colvin wrote:
>...
> 	int a[];

please don't use C style declarations, D style is "type followed 
by id":

int[] a;


More information about the Digitalmars-d-learn mailing list