We need to define the semantics of block initialization of arrays
Peter Alexander
peter.alexander.au at gmail.com
Mon Jun 3 02:39:04 PDT 2013
On Monday, 3 June 2013 at 09:06:25 UTC, Don wrote:
> Personally I'd like to just use block-init everywhere. I
> personally find first-element-init rather unexpected, but maybe
> that's just me. I don't know when it would be useful.
+1
I see no point in just initialising the first member. If you want
that, just default init then set the first member.
More information about the Digitalmars-d
mailing list