[Bug c++/15947] Puzzling error message for wrong destructor declaration in template class
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Sat Jun 12 12:23:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-06-12 12:22 -------
Actually, it turns out that it's unclear whether the standard allows naming
the destructor as a template. The lookup rules are complex and confusing,
there are a couple of defect reports (DR 399 and DR 244 for instance) and it
is still unclear.
My general understanding is that the committee is going to allow more complex
forms of destructor naming rather than limiting it.
I'm testing a patch which lets GCC accepts the templated form without an
error.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|diagnostic |rejects-valid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15947
More information about the Gcc-bugs
mailing list