This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19487] [3.3/3.4/4.0 Regression] map with a class template + method template fails to compile.
- 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: 17 Jan 2005 19:25:40 -0000
- Subject: [Bug c++/19487] [3.3/3.4/4.0 Regression] map with a class template + method template fails to compile.
- References: <20050117173442.19487.douze@enseeiht.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-17 19:25 -------
Reduced testcase:
template<typename _Tp> struct __is_pod
{
enum { _M_type };
};
template <typename _Key> struct map
{
static const bool _Is_pod_comparator = __is_pod<_Key >::_M_type;
};
template <int a> struct A {
static map<int> Cache;
template <typename B> void f(B out);
};
template <> template <typename B>
void A <0> ::f ( B out) { }
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-17 19:25:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19487