This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: bugs with template


> When I use the variable "nb" in a routine of class "B", the compiler
> used the global variable and not the inherit variable of class "A".

Thanks for your bug report. As I wrote in a previous message, this is
not a bug in gcc, but in your code. If you don't believe me, please
ask in one of the C++ fora, such as comp.lang.c++.moderated, or
comp.std.c++.

Thanks,
Martin


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