Invalid bounding interval [, ]
b_avic at yahoo.com
Wed Jan 25 03:28:55 PST 2012
> auto chunk = new ubyte;
> foreach(ref x; chunk) x = uniform!""(ubyte.min, ubyte.max);
Thank you all for your replies.
@ Timon, I have two questions:
1) How come you can omit parentheses for uniform's parameter, shouldn't it be
2) Does auto chunk = new ubyte; ALWAYS create a dynamic array with
That is a silly question but the syntax confuses me.
More information about the Digitalmars-d-learn