<<< Controlling object creation | Index | Sub-object constructors >>> |
Every declaration of an object results in the calling of a constructor
If you don't provide a constructor, C++ does that for you, but this is not necessarily what you want.
You don't call constructors; a constructor is invoked at the time of object creation.
<<< Controlling object creation | Index | Sub-object constructors >>> |