[Bug c++/19404] [4.0 Regression] anonymous types and templates and rejecting valid code

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 31 06:22:00 GMT 2005

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


More information about the Gcc-bugs mailing list