Future of memory management in D

Max Samukha maxsamukha at gmail.com
Fri Nov 19 10:21:35 UTC 2021


On Thursday, 18 November 2021 at 19:32:36 UTC, Atila Neves wrote:

>
> Works with `ref prop() { return _fld; }`.

The whole point of properties is to hide private state. Exposing 
a private member for direct mutation is generally a bad idea.



More information about the Digitalmars-d mailing list