[Bug c++/19243] Misleading error message for ill-formed explicit destructor invocation

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


------- Additional Comments From austern at apple dot com  2005-01-05 05:21 -------
Nope, I was wrong.  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 applies 
to the destructor.  This is a rejects-valid bug, not just a bad diagnostic.

-- 


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



More information about the Gcc-bugs mailing list