RE: Template Inheritance Bug ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yury,

>Could you explane,please, if it is a compiler bug or just the compiler feature.

It is neither a compiler bug, nor a compiler feature.  It is compliance to C++ specification (ISO 14882).

The Set in the parent class is being hidden by the Set in the derived class.

You should be able to un-hide the Set from the parent class in the derived class by specifying...

using A<EntityName>::Set;

... in the derived class.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux