[PATCH] More implicit typename fixes

Gabriel Dos Reis gdr@codesourcery.com
Fri Dec 21 18:24:00 GMT 2001


Nathan Myers <ncm-nospam@cantrip.org> writes:

| On Sat, Dec 22, 2001 at 12:54:42AM +0000, Jason Merrill wrote:
| > >>>>> "Nathan" == Nathan Myers <ncm-nospam@cantrip.org> writes:
| > 
| > > On Fri, Dec 21, 2001 at 11:58:51PM +0100, Paolo Carlini wrote:
| > >> Nathan Myers wrote:
| > >> 
| > >> > On Fri, Dec 21, 2001 at 10:44:29PM +0100, Paolo Carlini wrote:
| > >> > >       typedef typename ctype::mask  mask;       <====== 169
| > >> >
| > > Actually, looking deeper, it [might] be better just to use 
| > >   using ctype_base::mask;
| > > if it works.
| > 
| > That doesn't help the compiler to see that it's a type, so I don't 
| > think it should.
| 
| I think that since ctype_base is not a template, it can be looked up 
| in phase one, and all its details (not just its typeness) known during 
| parsing of member templates.  Am I wrong?

Not from my understanding.

-- Gaby



More information about the Libstdc++ mailing list