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++/18276] [4.0 Regression] template classes that are friends of template classes


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-02 17:10 -------
Confirmed, the error is wrong.
here is the reduced testcase:
template <  template<typename> class >
struct Factory { };
template < template<typename> class >
struct Product
{
  template <  template<typename> class >
  friend class Factory;
};
template<typename Tag_>
struct traits {};
Product<traits> a;

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-02 17:10:36
               date|                            |
            Summary|template classes that are   |[4.0 Regression] template
                   |friends of template classes |classes that are friends of
                   |                            |template classes
   Target Milestone|---                         |4.0.0
            Version|0.0                         |4.0.0


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


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