is private broken?

w0rp devw0rp at gmail.com
Tue Oct 10 19:33:40 UTC 2017


https://wiki.dlang.org/Access_specifiers_and_visibility#private

>Private means that only members of the enclosing class can 
>access the member, or members and functions in the same module 
>as the enclosing class.

You can access private attributes anywhere in the same module.


More information about the Digitalmars-d mailing list