[email protected] wrote:
http://d.puremagic.com/issues/show_bug.cgi?id=3377


downs <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from downs <[email protected]> 2009-10-08 12:35:53 PDT 
---
This does compile (on 1.0):

template Repeat(T, int I) {
  static if (!I) alias Tuple!() Repeat;
  else alias Tuple!(T, Repeat!(T, I - 1)) Repeat;
}

downs, you are a genius. You can create code that is both elegant and dreadful. You make the world a more interesting place.

Reply via email to