More on C++ stack arrays
deadalnix
deadalnix at gmail.com
Thu Oct 24 15:06:52 PDT 2013
On Thursday, 24 October 2013 at 20:04:38 UTC, Jonathan M Davis
wrote:
> On Thursday, October 24, 2013 21:07:16 deadalnix wrote:
>> On Thursday, 24 October 2013 at 18:22:49 UTC, Jonathan M Davis
>>
>> wrote:
>> > Agreed. But there's a significant difference between @system
>> > and illegal, and
>> > deadalnix was claiming that such init values were illegal per
>> > the language
>> > spec, which is what I was objecting to.
>> >
>> > - Jonathan M Davis
>>
>> I never claimed that. I claimed that the init value, whatever
>> it
>> is, must be considered as valid. This is only loosly coupled
>> with
>> void as init value.
>
> Then what do you mean by valid?
>
Code operating on the struct must handle that case. It is a valid
state for the struct to be in.
More information about the Digitalmars-d
mailing list