[Bug c++/12333] [DR 272] Explicit call to MyClass::~MyClass() not allowed

austern at apple dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 5 05:24:00 GMT 2005

------- Additional Comments From austern at apple dot com  2005-01-05 05:24 -------
I was wrong in thinking this was only a diagnostic bug.  DR272 only affects a nonnormative note.  I've 
checked with Mike Miller, and he pointed me to the appropriate normative text that implies that X::~X() 
within a member function designates the destructor.  This is a genuine rejects-valid bug, not just a bad 
diagnostic.  It is a rejects-valid bug regardless of the status of DR272.



More information about the Gcc-bugs mailing list