Re: [gtkmm] gcc-3.3 and gtkmm-2.2.1
- From: Paul Davis <paul linuxaudiosystems com>
- To: Ole Laursen <olau hardworking dk>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] gcc-3.3 and gtkmm-2.2.1
- Date: Sun, 18 May 2003 09:10:11 -0400
> class X
> {
> template <typename T> struct Y; // line 3
> };
>
> template <> struct X::Y<int>
> { // line 7
> };
>
> int main()
> {
> }
>
>It appears GCC 3.3 doesn't like the specialisation:
>
> $ g++ -o test test.c++ -Wall
> test.c++:3: error: `template<class T> struct X::Y' is private
> test.c++:7: error: within this context
did you consider declaring class X as struct X?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]