We need to define the semantics of block initialization of arrays
Jonathan M Davis
jmdavisProg at gmx.com
Mon Jun 3 18:07:57 PDT 2013
On Monday, June 03, 2013 11:06:22 Don wrote:
> So, we have a curious mix of the two behaviours. Which way is
> correct?
>
> 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. But
> regardless, we need to get this sorted out.
> It's a blocker for my CTFE work.
I honestly didn't know about either, but first element init seems very wrong to
me, whereas block init makes sense.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list