This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15947] Puzzling error message for wrong destructor declaration in template class


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]