By using c++filt -t
command, I could demangle the name into proper type name (for instance, St3foo
-> std::foo
)
Is there a way to reverse this thing so I could get St3foo
by typing std::foo
?
The only thing I could think is by using typeid(<expr>).name()
but I have to type any typenames during runtime so I could get the following mangled names.
(Note: I'm using GCC compiler on Windows)