Get template name

JS js.mdnq at gmail.com
Tue Jul 30 15:20:29 PDT 2013


On Tuesday, 30 July 2013 at 11:25:38 UTC, Dicebot wrote:
> On Tuesday, 30 July 2013 at 11:04:10 UTC, JS wrote:
>> 1. No, the code actually will print the message but the error 
>> shows up right after(well, depends on which error, the one I 
>> get inside templates works fine except the without the 
>> assignment/alias, no further compilation is done due to the 
>> error(but the message is printed).
>
> http://dpaste.dzfl.pl/e232e3ac
>
>> And what is a stub function?
>
> http://dpaste.dzfl.pl/133230f8

http://dpaste.dzfl.pl/c4cb0dfb

For some reason the code doesn't work on my machine... works in 
dpaste though...

My machine just returns an empty string for __FUNCTION__. I think 
this is a bug somewhere... I'll post another post showing it.


More information about the Digitalmars-d-learn mailing list