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++/13714] destructor name `const s' does not match type `const s' of expression


------- Additional Comments From giovannibajo at libero dot it  2004-01-17 04:13 -------
There are a few open DRs in the standard about name lookup for pseudo 
destructor calls, I'll have to review those. But I know they are about relaxing 
the requirements.

The pure standard however says that the pseudo destructor name is looked up in 
the scope of the nested name specifier in the postfix expression. This makes 
your testcase obviously well-formed, so, as a first approximation, this is a 
rejects-valid.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|diagnostic                  |rejects-valid


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


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