Order of constructor calling

Nasza ocena:

3
Wyświetleń: 462
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Order of constructor calling - strona 1

Fragment notatki:

Order of constructor calling  Constructors 1. base class (classes in order of declaration) 2. class members in order of declaration 3. constructor's body  Object class members (and base classes), if not initialized in the initialization list, are actually initialized twice: 1. by the default constructor of their class 2. in the body of constructor of the object being created ... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz