[Bug c++/13714] destructor name `const s' does not match type `const s' of expression
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Sat Jan 17 04:13:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list