Iterating over 0..T.max

bearophile bearophileHUGS at lycos.com
Thu Mar 10 05:23:26 PST 2011


Steven Schveighoffer:

> void main()
> {
>      auto a = new ubyte[256];
>      foreach(ubyte i, ref e; a) e = i;
> }

http://d.puremagic.com/issues/show_bug.cgi?id=5725

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list