> The problem is that "Foo" and "bar", as D strings, are > invariant(char)[], not char[]. > > The solution is to change the template to > >> template GenStruct(const char[] Name, const char[] M1) Got it. Why not declare them "invariant char[]", or does it simply make no difference? -- Brian