c++ - Why do we need compiler defined constructor? -
Compiler-defined constructor is empty and does not start member variable. So why does the compiler make one?
What is the difference besides what if a compiler was defined as a blank constructor between a defined constructor and a user?
The existence or absence of a manufacturer affects how users of the classroom can instantize objects If the compiler has not created any default constructor, then you will not be able to use a class or a string unless you make your own constructor.
Comments
Post a Comment