This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] More implicit typename fixes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]