Get template name

JS js.mdnq at gmail.com
Tue Jul 30 04:39:33 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

The first is what I already do, but it is messy.

The second may work, it is also a bit messy(requiring an extra 
function) but might solve the problem...


More information about the Digitalmars-d-learn mailing list