The compiler-defined default constructor is required to do certain initialization of class internals . It will not touch the data members or plain old data types (aggregates like an array, structures, etc…). However, the compiler generates code for the default constructor based on the situation.9 Oca 2022
Read moreShould I write default constructor?
You should only implement your own default constructor it it does anything else then the one the compiler would generate. If you want to give the reader a hint, you can replace the implementation with = default in C++11.
Read moreWhat does default mean in C++?
A default argument is a value provided in a function declaration that is automatically assigned by the compiler if the caller of the function doesn’t provide a value for the argument with a default value . In case any value is passed the default value is overridden.
Read more