[Issue 954] Recursive templates with values, Error: T is used as a type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 12 05:21:33 PST 2007


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





------- Comment #1 from lio at lunesu.com  2007-02-12 07:21 -------
Forgot to emphasize: direct references to T[F] work fine, for example:

template Foo(char[] T, int F)
{
  const Foo = T[F];
}


-- 



More information about the Digitalmars-d-bugs mailing list