On 08/24/2012 11:16 PM, timotheecour wrote:
how to get fully qualified name of a template function?
In the code below I want to get util.mod.mymethod!(double)
I tried everything (see below) to no avail, it just returns mymethod;
The closest I get is demangle(mangledName!(fun)), which shouldn't
how to get fully qualified name of a template function?
In the code below I want to get util.mod.mymethod!(double)
I tried everything (see below) to no avail, it just returns
mymethod;
The closest I get is demangle(mangledName!(fun)), which shouldn't
be hard to convert to what I want, but
related threads:
http://www.digitalmars.com/d/archives/digitalmars/D/learn/3530.html
from Don Clugston:
I have implemented compile-time demangle metafunctions:
static assert( prettynameof!(A)== class main.A );
static assert( qualifiednameof!(A) == main.A );
static assert( symbolnameof!(A)