[Bug c++/42069] [4.5 Regression] fails on class template specialization with default parameter
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 29 18:39:00 GMT 2009
------- Comment #2 from reichelt at gcc dot gnu dot org 2009-11-29 18:39 -------
Shorter testcase (without default parameter):
=================================
struct A
{
static const int N = 0;
};
template<int> struct B {};
template<typename T, int>
struct C
{
typedef T U;
B<U::N> b;
};
template<typename T>
struct C<T*, 0>
{
B<T::N> b;
};
C<A*, 0> c;
=================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42069
More information about the Gcc-bugs
mailing list