[cfe-dev] How to demangle _ZN3foocvPT_I3barEEv?

Joshua Naismith fakju666 at o2.pl
Mon Feb 11 07:41:48 PST 2013

Marshall Clow wrote:
> $ c++filt -n _ZN3foocvPT_I3barEEv
> foo::operator bar*<bar>()
> "-n" means "don't strip leading underscore"

Which version of c++filt do you use? I've got GNU c++filt (GNU Binutils for Ubuntu) 2.22 and can't reproduce this here. Also, according to "c++filt -h" -n is enabled by default.

name at name:~$ c++filt -n _ZN3foocvPT_I3barEEv

More information about the cfe-dev mailing list