Void pointers

Alex via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 16 14:54:13 PDT 2016


On Monday, 16 May 2016 at 21:41:20 UTC, Steven Schveighoffer 
wrote:

>
> Hey, there's nothing wrong with for-loops. Just trying to 
> answer the question :)
>
> You could also do something like:
>
> foreach(i; 0 .. b.length) writeln(&b[i]);

Ha! Yes! :)
Thanks :)

> -Steve




More information about the Digitalmars-d-learn mailing list