Visibility modifiers in D are for the module, not class or struct.
This is very useful to be able to access internal stuff outside of the abstraction and modify it sanely. While also keeping others at bay.
rikki cattermole via Digitalmars-d-learn Mon, 12 Mar 2018 18:20:23 -0700
Visibility modifiers in D are for the module, not class or struct.
This is very useful to be able to access internal stuff outside of the abstraction and modify it sanely. While also keeping others at bay.