www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - inverse of std.demangle?

I'd like to have a function:
string mangle(string mangled_string);
unittest{
  void foo(int x){}
  assert(foo.mangleof.demangle.mangle == foo.mangleof);
}

is there such a functionality, even partially?
Jul 03 2013