On 13 May 2011 20:46, Jason Merrill <ja...@redhat.com> wrote: > Why did you put this before the invalid template-id check, rather than > after?
For no particular reason. Is it significant? > Also, shouldn't we reject "override" on classes? You can have stuff like struct blah override{}; where struct blah is an elaborate-type-specifier, and override is a variable name. How do I tell the difference, or more precisely, how do I know when a class is being defined for the first time? > The test should include a class template marked final. Ok, I'll fix these issues, any guidance for the override question above is highly appreciated.