From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gabriel Dos Reis To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/3028: 3.0 Compiler complains about template that used to work under 2.95 Date: Fri, 01 Jun 2001 18:26:00 -0000 Message-id: <20010602012603.26869.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00032.html List-Id: The following reply was made to PR c++/3028; it has been noted by GNATS. From: Gabriel Dos Reis To: James L Peterson Cc: Artem Khodush , gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org Subject: Re: c++/3028: 3.0 Compiler complains about template that used to work under 2.95 Date: 02 Jun 2001 03:15:56 +0200 James L Peterson writes: | I was unable to understand the template description in Stroustrup (3rd | edition) | well enough to tell if 3.0 or 2.9.5 was right. So you may be right that | 3.0 | is correct. The argument for 3.0 being wrong is that IListNode is | defined | inside IListBase and so has to be effectively "templated" because | IListBase is. But GCC-3.0 is right, because IListNode is -not- a template-name. -- Gaby