GCC 2.95.2 bug with typename and templates

Nathan Sidwell nathan@codesourcery.com
Tue Jul 25 13:44:00 GMT 2000


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


More information about the Gcc-bugs mailing list