Get name of alias parameter at compile time?

Lutger lutger.blijdestijn at gmail.com
Thu Oct 15 09:28:56 PDT 2009


Jacob Carlborg wrote:

...
> 
> Oh, that problem. Just use a function pointer and get the name of that
> instead, like this:
> http://www.dsource.org/projects/dstep/browser/dstep/internal/Traits.d
> (functionNameOf at line 17)

Right, good to know LDC does get it right. 

I found one bugzilla report about it, though I'm not sure it really is a 
bug: http://d.puremagic.com/issues/show_bug.cgi?id=1373

There sure are a lot of bugs concerning .stringof! 




More information about the Digitalmars-d mailing list