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]

Re: Common V3 coding bug


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

> If A<>::i were a type, it could still be mentioned without template 
> arguments, e.g.:

>> void g() { int j = sizeof B::i; } 

Rather, 'sizeof typename B::i'.  Which is what
warn_about_implicit_typename_lookup suggests.

Jason


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