December 1998
Intermediate to advanced
624 pages
13h 8m
English
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.

![]()
Initialization ...
Read now
Unlock full access