given the following code:
class Class { int x; public: Class() = default; };
I get the following warning:
Member 'x' was not initialized in this constructor
What is the reason of this warning?
Aucun commentaire:
Enregistrer un commentaire