Mehrdad:
Why not just let us writestatic foreach (i; 0 .. T.tupleof.length) static if (is(typeof(T.tupleof[i]) == int)) ... so that the code is a lot more succinct and easy to write?
Vote or comment, please: http://d.puremagic.com/issues/show_bug.cgi?id=4085 Bye, bearophile
