Get template name
Dicebot
public at dicebot.lv
Mon Jul 29 23:36:11 PDT 2013
On Monday, 29 July 2013 at 23:02:57 UTC, JS wrote:
> __FUNCTION__ does not return anything when used in templates.
>
> For debugging purposes I sometimes use pragma(msg,
> template_name); (with template_name being the name of the
> template assigned an enum)
It can be relatively trivial or incredibly difficult, depending
on exact string output for a given template you want get and set
of template types supported.
More information about the Digitalmars-d-learn
mailing list