[Bug c++/33754] Default argument of type list < pair < A, B > > compiles only when typedef is used

nathan at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 15 08:24:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list