alias constant in the inherited class
Advertisements I have a base class defining a constant and the child class can use it using alias. The construct is as below class Base { protected: static const int A_ = 1; }; class Foo : public Base { private: using Base::A_; }; However, when I define a subclass of Foo as class Go… Read More alias constant in the inherited class