[phobos] core.demangle replacing std.demangle?

Jonathan M Davis jmdavisprog at gmail.com
Fri Sep 10 19:33:17 PDT 2010


On Friday 10 September 2010 19:02:53 Benjamin Shropshire wrote:
> OTOH, anything that is that long is going to be
> ugly even if you could de-mangle it.

True, but templates can get pretty long and ugly (even if they're not quite as 
bad in D since you don't have allocators and whatnot), and sometimes you need to 
see what they look like. Now, for a stack trace, you probably don't nee to see 
what the _exact_ type is once it gets that long and nasty - you can probably 
figure out which function is meant just fine - but for other uses, it could be a 
bit annoying to not have long template types completely demangled.

- Jonathan M Davis


More information about the phobos mailing list