This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #2 from photon at seznam dot cz  2007-10-13 08:24 -------
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of 57 ***
> 

>> I should note this bug is suspended.  This is because the standard is unclear at what is the correct behavior.  See DR 325 for all the details.


I vote for this to be fixed in GCC, especially since the standard is unclear.
The compiler has the knowledge 'pair' is a template class. MS C++ accepts the
syntax and does not violate any standards by doing so.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33754


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]