template function specialization trouble - probably a user error, but...

Alexandre Oliva aoliva@redhat.com
Sat Sep 18 17:33:00 GMT 2004


On Sep 17, 2004, Nathan Sidwell <nathan@codesourcery.com> wrote:

> If its a specialization, then it can't have a dependent type.  Adding
> typename won't fix things, as there's no 'T' in scope in the first place.

Doh.  Yes, indeed.  The testcase is terminally broken.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Gcc mailing list