|
|
|
|
|
by vitus
708 days ago
|
|
In the first few paragraphs: > Primarily, there are two kinds of initialization of concern: default-initialization and value-initialization. The rules given in the standard look roughly like this: > * For any type T, T t; performs default-initialization on t as follows: ... As GP mentions, the article's descriptions of default and value initialization are both incorrect for classes that do not have default constructors, as that code will simply not compile. |
|