Bug in 3.3.1 and 3.3.2 20031009
Roberto Bagnara
bagnara@cs.unipr.it
Fri Oct 10 14:21:00 GMT 2003
The following snippet compiles OK with mainline,
but does not with 3.3.1 and, unfortunately, with
3.3.2 20031009. Given that the release of 3.4
is still far, does anyone know a workaround?
template <typename T>
class C;
namespace N {
template <typename T>
void foo(T);
}
template <typename T>
class C {
public:
C();
friend void N::foo<>(T);
};
C<int> a;
Thanks in advance,
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@cs.unipr.it
More information about the Gcc-bugs
mailing list