
2 Nov
2012
2 Nov
'12
2:14 p.m.
On Fri, Nov 2, 2012 at 2:55 PM, Peter Dimov <lists@pdimov.com> wrote:
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*.
No, I'm not. I'm just wondering what the use case is and how often it's used. -- Olaf