Timeline for array initialisation
Current License: CC BY-SA 2.5
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 8, 2022 at 16:01 | comment | added | Michele Piccolini |
Is this definition of default-initialization the same as on ccpreference? Because here for default initialization they intend the initialization that occurs when no initializer is specified. And it says that in this case, if the type is neither a non-POD class nor an array, then no initialization is performed. Instead the third point under your "default-initialize" says the object is zero-initialized. For a concrete example, do your rules say that an array like int a[5]; is by default zero-initialized? It's not.
|
|
| Jun 20, 2020 at 9:12 | history | edited | Community Bot |
Commonmark migration
|
|
| Oct 28, 2009 at 1:35 | vote | accept | Trent Gm | ||
| Oct 27, 2009 at 2:14 | history | edited | Pavel Minaev | CC BY-SA 2.5 |
added 1190 characters in body
|
| Oct 27, 2009 at 2:05 | history | answered | Pavel Minaev | CC BY-SA 2.5 |