
2 Nov
2012
2 Nov
'12
1:55 p.m.
John Maddock wrote:
What's the use case for default/zero initialized arrays of builtin types though?
Do you really never initialize your arrays?
Isn't this a case of "it depends"? Sometimes it's completely wasted cycles, sometimes it's essential...
It is. Olaf is arguing that there is never a need to initialize an array when the elements are of a built-in type such as double or T*.