This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 2.95.2 bug with typename and templates
Gabriel Dos Reis wrote:
>
> Nathan Sidwell <nathan@codesourcery.com> writes:
> More importantly, the construct
>
> typename LB::DataType;
>
> is ill-formed and should be diagnosed as per 7.1.5.3/1; what GCC
> failed to.
Good point -- that would have been a bit of a clue!
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org