On Thursday, 15 June 2017 at 22:36:56 UTC, Jonathan Marler wrote:
Doesn't work with eponymous templates, like std.traits.Flag. For example, make this code work:
That uses `.stringof` which means it is useless for anything except informational printing.
Post the code you are actually doing (not writeln stuff, with mixin) and I'll show you how to do it right.
When you mixin the type, you need a "string', T is not a string, it's an alias to a type.
But "T" is a string....