Does the default constructor initialize built-in types?
Does the default constructor (created by the compiler) initialize built-in-types? 7 Answers 7
Does the default constructor (created by the compiler) initialize built-in-types? 7 Answers 7
Is there any good reason that an empty set of round brackets (parentheses) isn’t valid for calling the default constructor in C++? MyObject … Read more
I originally posted this as a question only about destructors, but now I’m adding consideration of the default constructor. Here’s the original question: … Read more
Neither of them. If you define it, it’s not the default. The default constructor is the no-argument constructor automatically generated unless you define … Read more