Template args to UDA's
Johannes Pfau
nospam at example.com
Tue May 28 09:47:23 PDT 2013
Am Tue, 28 May 2013 22:51:29 +0900
schrieb Kenji Hara <k.hara.pg at gmail.com>:
> 2013/5/28 Manu <turkeyman at gmail.com>
>
>
> This code works.
>
Interesting. I tried that as well but used writeln to print the output:
writeln(__traits(getAttributes, func!"a")); //Fails
enum result = __traits(getAttributes, func!"a");
writeln(result); //works
Is this a known bug?
More information about the Digitalmars-d
mailing list