Module level privacy

Jarl André" <jarl.andre at gmail.com> Jarl André" <jarl.andre at gmail.com>
Mon Jun 11 10:59:24 PDT 2012


Hi

I just noticed that by setting a class to private in a module, 
its not inaccessible by other modules including the mentioned 
module. What am I saying syntactically when I am setting a class 
to private in a module? Will it be hidden by third level 
includers? (a module C that includes module B that includes 
module A that contains private class Z)? Or is the private 
modifier practically useless at module level?


More information about the Digitalmars-d-learn mailing list