------- Comment #6 from _talyn_ at web dot de 2006-03-10 13:56 ------- (From update of attachment 11015) Certainly, I see your point with respect to the get* methods, a hint in the g++-4.X release notes about the more aggressive inlining would probably be helpful.
However, this doesn't explain, why the reference to TTypeWrapper::~TTypeWrapper is missing if the instance of CVectorWrap is allocated statically, and it is not missing, if it is allocated dynamically. The VMT of CVectorWrap should be created with instance.o the reference to TTypeWrapper::~TTypeWrapper will be needed there. Hence, it should be instanciated automatically, and creating CVectorWrap dynamically seems to proof that indeed it is. Explicit instanciation is a orkaround, but IMHO it is not the solution. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26621