Module visibility feature?

Tommi tommitissari at hotmail.com
Thu Jul 18 15:23:27 PDT 2013


On Thursday, 18 July 2013 at 22:22:15 UTC, Tommi wrote:
> All modules can import foo.barstuff, but only other modules in 
> foo could import a module declared as 'protected':
>
> protected module foo.detail;
>
> // declarations
>
> This makes a clearer distinction between implementation detail 
> modules vs normal modules.

'package' rather than 'protected'


More information about the Digitalmars-d mailing list