Read-only property without @property

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 26 17:35:20 PDT 2014


On 9/26/14, 4:32 PM, Steven Schveighoffer wrote:
> On 9/26/14 6:32 PM, H. S. Teoh via Digitalmars-d wrote:
>
>> Does the compiler infer it as @safe, though?
>
> Hm... good point, I'm not sure if unions are considered @safe. But I
> think that would be a decent enhancement request if not.

I'd say certain unions may be deemed safe. -- Andrei



More information about the Digitalmars-d mailing list