This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33754] Default argument of type list < pair < A, B > > compiles only when typedef is used
- From: "nathan at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Oct 2007 08:24:26 -0000
- Subject: [Bug c++/33754] Default argument of type list < pair < A, B > > compiles only when typedef is used
- References: <bug-33754-15110@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from nathan at codesourcery dot com 2007-10-15 08:24 -------
Subject: Re: Default argument of type list < pair < A, B >
> compiles only when typedef is used
photon at seznam dot cz wrote:
>> As there is a simple workaround -- adding parentheses -- which is unambiguously
>> correct, I do not see a need to speculatively implement a language extension
>> here.
>>
>
> Provided the standard is ambiguous, fixing this problem would not introduce a
> language extension.
What are your thoughts about the other issues raised by 325?
nathan
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33754