[Bug c++/18276] [4.0 Regression] template classes that are friends of template classes
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 2 17:10:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list