Chapter 22. Initialization Lists
FAQ 22.01 What are constructor initialization lists?
Constructor initialization lists are the best way to initialize member objects.
All member objects are initialized before the body of the constructor begins executing. Constructor initialization lists allow the class to exercise control over the construction of the member objects before the execution of the constructor.
Here is an example of using an initialization list.
FAQ 22.02 What will happen if constructor initialization lists are not used?