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++/49274] [4.6/4.7 Regression] unique_ptr needs full definition of map type


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

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-03 14:03:59 UTC ---
Yes, cont<incomplete> is an associated type for argument-dependent lookup, so
we instantiate it to get any friend declarations.  I think G++ is correct.

Clang fails to compile the testcase for 34870.  Interestingly, EDG accepts both
this testcase and the testcase for 34870.  I wonder why that would be.


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