This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17648] [3.3 regression] template destructor was not called for inherited classes


------- Additional Comments From hs at profiforms dot de  2004-09-24 13:54 -------
I've tested in my real program to write only one call in the template 
desructor 

template <class T> ListT<T>::~ListT()
{DeleteContent();
}//end of template <class T> ListT<T>::~ListT()
 
On Linux it works for some instances but not for all. On HP-UX it don't work 
in all cases.

As workaround I switch to g++ 2.95.2 on all machines.

Holger 

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]