Union redux

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 1 15:44:11 PDT 2015


On 6/1/2015 2:32 PM, Andrei Alexandrescu wrote:
> On 6/1/15 2:02 PM, Walter Bright wrote:
>>>> 3/ union and @safe is currently undefined. I proposed to make everything
>>>> involving unions @system, and we will figure it out from there.
>>
>> No.
>
> What should we do here then? -- Andrei

There's nothing unsafe about:

    union { char c; int i; }


More information about the Digitalmars-d mailing list