This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18276] [4.0 Regression] template classes that are friends of template classes
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2004 17:10:42 -0000
- Subject: [Bug c++/18276] [4.0 Regression] template classes that are friends of template classes
- References: <20041102170346.18276.akim@epita.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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