This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30925] c++ frontend error: ?-operator parameter binding
- From: "istvan at benedek-home dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2007 14:52:43 -0000
- Subject: [Bug c++/30925] c++ frontend error: ?-operator parameter binding
- References: <bug-30925-14144@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from istvan at benedek-home dot de 2007-02-26 14:52 -------
>?: is a lvalue in C++
Why? I'm missing the quotation from the Holy Standard!
IMHO:
we deal with two nonmodifiable lvalues here.
from HS 5.12 3:
Because E1 can't be converted to type 'reference to T2', the Section 'Otherwise
hits us:
'... E1 can be converted to match E2 if E1 can be implicitly converted to the
type that E2 would have if E2 were converted to an rvalue ...'
Please reconsider your opinion.
--
istvan at benedek-home dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30925