how to make private class member private

rikki cattermole rikki at cattermole.co.nz
Tue Mar 13 01:15:10 UTC 2018


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.


More information about the Digitalmars-d-learn mailing list