<div class="gmail_quote">On Wed, Sep 1, 2010 at 00:05, Lutger <span dir="ltr"><<a href="mailto:lutger.blijdestijn@gmail.com">lutger.blijdestijn@gmail.com</a>></span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
wtf it works! That's a cool trick / workaround, thanks.<br>
<br></blockquote><div>That'd be cool if this worked too:<br><br>foreach(i,_; test) // since test is iterable<br><br>or even:<br><br>foreach(i,_; typeof(test)) // int[3] -> consider it as (int,int,int) and iterate.<br>
<br>Halas, no. Though it's easy to transform a static array into a type tuple of the same length and same element type.<br><br>Philippe <br></div></div><br>