¡@

Home 

c++ Programming Glossary: base0

In a templated derived class, why do I need to qualify base class member names with “this->” inside a member function?

http://stackoverflow.com/questions/7908248/in-a-templated-derived-class-why-do-i-need-to-qualify-base-class-member-names-w

base classes but not in dependant base classes class Base0 public int nd template typename T class Derived2 public Base0.. public int nd template typename T class Derived2 public Base0 non dependant base public Base T dependant base void f nd Base0.. non dependant base public Base T dependant base void f nd Base0 b d lookup of d finds nothing f this lookup of f finds nothing..

Is it possible to prevent multiple inheritance of specific base classes at compile time?

http://stackoverflow.com/questions/8754775/is-it-possible-to-prevent-multiple-inheritance-of-specific-base-classes-at-compi

both be derived from. You could make them both derive from Base0 in which case if you derive from Base1 and Base2 you would get.. your problem but I question why you are trying to do this. Base0 should not be a totally empty class as there has to be something.. error if you do it by mistake . An example might be class Base0 protected virtual ~Base0 ~ virtual void abstractMethod const..