[Issue 533] Cannot use int from tuple as an index

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 26 17:43:16 PST 2006


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





------- Comment #1 from wbaxter at gmail.com  2006-11-26 19:43 -------
As of DMD 0.175 this can also be worked around by eliminating the N, and
indexing directly with TList[0]:

  template Nth(TList...) {
      auto Nth = TList[TList[0]];
  }


-- 




More information about the Digitalmars-d-bugs mailing list