This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10849] [3.3/3.4 regression] Cannot define an out-of-class specialization of a private nested template class
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jun 2003 08:44:30 -0000
- Subject: [Bug c++/10849] [3.3/3.4 regression] Cannot define an out-of-class specialization of a private nested template class
- References: <20030518215600.10849.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10849
------- Additional Comments From debian-gcc at lists dot debian dot org 2003-06-29 08:44 -------
[forwarded from http://bugs.debian.org/193830]
fyi,
gcc version 3.3.1 20030626 (Debian prerelease)
(aka '3.3.1-0pre0' in debian)
improves a bit on the situation:
class Foo {
template <class T> struct InFoo;
template <class T, class U> struct InFoo2;
};
template<>
struct Foo::InFoo<int> {
// ...this works now... (didn't work with 3.3.0)
};
template<class T>
struct Foo::InFoo2<T, int> {
// ...this still triggers error
};