--- Comment #15 from ben at decadent dot org dot uk 2007-02-22 01:10
---
Pawel: Yes, any friend class or function can call a protected or private
destructor wrongly. So can members of the class - in fact, even pure virtual
members can, since they may still have definitions!
The
--- Comment #12 from ben at decadent dot org dot uk 2007-02-13 16:16
---
Already posted as <http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00885.html>,
with no response.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302
--- Comment #10 from ben at decadent dot org dot uk 2006-12-08 00:40
---
Lawrence: Every class has a destructor. You're talking about classes that have
trivial destructors. Whether a non-virtual destructor is trivial or not has no
bearing on the fact that if an instance of a de