[phobos] core.demangle replacing std.demangle?

Jacob doob at me.com
Fri Sep 10 05:18:29 PDT 2010


On 10 sep 2010, at 10:12, Lars Tandle Kyllingstad wrote:

> I've noticed that Sean has recently added the core.demangle module to
> druntime.  Does this mean we can deprecate std.demangle?  I've never
> used it myself, but I seem to remember people saying on the NG that it
> is pretty outdated.
> 
> -Lars
> 
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


I've used the demangler and can verify that the is outdated. These are the bugs I encountered:

std.demangle incorrectly handles template floating point numbers
http://d.puremagic.com/issues/show_bug.cgi?id=4323

std.demangle doesn't parse ref, pure, nothrow
http://d.puremagic.com/issues/show_bug.cgi?id=3334

I've not used the new demangler in druntime but at least I has code for demangling the function types mentioned in bug 3334.

-- 
/Jacob Carlborg



More information about the phobos mailing list