How to make fields inaccessible (unreadable and unachangeable) outside of the structure?
matheus
matheus at gmail.com
Fri Mar 29 23:44:40 UTC 2024
On Friday, 29 March 2024 at 22:50:53 UTC, curiousprogramma08
wrote:
> ...
If I'm not mistaken, like in classes "private" is module based:
https://wiki.dlang.org/Access_specifiers_and_visibility
Matheus.
More information about the Digitalmars-d-learn
mailing list