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++/19404] [4.0 Regression] anonymous types and templates and rejecting valid code


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-01-31 06:22 -------
This code is invalid.  The use of ">>" requires the instantiation of the
declaration of the overloaded "operator>>", but that instantiation fails because
one of the template argument is anonymous.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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


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