This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19503] Parsing problem in the constructor call of temporary object
- From: "timo dot erkkila at tut dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2005 14:04:14 -0000
- Subject: [Bug c++/19503] Parsing problem in the constructor call of temporary object
- References: <20050118122601.19503.timo.erkkila@tut.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From timo dot erkkila at tut dot fi 2005-01-18 14:04 -------
(In reply to comment #1)
Yes, I was also just given the following citations from the C++-standard:
8.2 Ambiguity resolution
1 "... Just as for the ambiguities mentioned in 6.8, the resolution is
to consider any construct that could possibly be a declaration a
declaration."
and
8.3 Meaning of declarators
6 "In a declaration
T D
where D has the form ( D1 ) the type of the contained declarator-id
is the same as that of the contained declarator-id in the declaration
T D1
Parentheses do not alter the type of the embedded declarator-id, but
they can alter the binding of complex declarators."
Anyway, that was new information to me, thanks!
++Timo E.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19503