In this piece of code, why is A\'s constructor with no parameters not inherited? Is there a special rule that prevents inheriting constructors with no parameters?
there is no constructor in B with no parameters, try
B() : A(){}