C++ Primer (5th edition) on page 629 states:
A class that contains only inherited constructors will have a synthesized default constructor.
What is the reasoning behind this rule?
Aucun commentaire:
Enregistrer un commentaire