This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11339] cannot instantiate class derived from base with public virtual destructor and private operator delete
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2003 22:15:07 -0000
- Subject: [Bug c++/11339] cannot instantiate class derived from base with public virtual destructor and private operator delete
- References: <20030626212928.11339.pbrannan@atdesk.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11339
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From bangerth at dealii dot org 2003-06-26 22:15 -------
gcc is right. Section 5.3.4/16 states
...access control [is] done for the allocation function, the deallocation
function (here: operator delete), and the cnostructor. [...]
W.