Future of memory management in D

Timon Gehr timon.gehr at gmx.ch
Fri Nov 19 15:50:50 UTC 2021


On 19.11.21 16:39, 12345swordy wrote:
> On Friday, 19 November 2021 at 14:30:39 UTC, Alexandru Ermicioi wrote:
>>
>> Why is it bad?
>>
>> Best regards,
>> Alexandru.
> 
> It violate encapsulation. Which at that point you might as well make the 
> l-value public.
> 
> -Alex

This is just one way to make an lvalue public. Note that the address 
might not be constant/at a constant offset.


More information about the Digitalmars-d mailing list