------- Comment #3 from jim at clkda dot com  2010-02-25 20:01 -------
I think the T_ is not handling the forward reference to the not-yet-specified
first template parameter correctly.  For the original example, replacing T_
with N4DestE gives something that *looks* right although is probably not
correct:

_ZN9convertercvPN4DestEI4DestEEv

which demangles to converter::operator Dest*<Dest>().

Similarly, in the second example, if I replace T_ with i, I get

_ZNK3FooIPvEcvS_IiEIiEEv

which demangles to Foo<void*>::operator Foo<int><int>() const.

http://www.codesourcery.com/public/cxx-abi/abi.html#mangling is helpful.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41233

Reply via email to