C++11 constructor inheritance and constructors with no parameters

前端 未结 2 644
故里飘歌
故里飘歌 2020-12-20 16:33

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?

         


        
2条回答
提交回复
热议问题