On Thursday, 18 July 2013 at 10:55:39 UTC, Dicebot wrote:
On Wednesday, 17 July 2013 at 11:33:39 UTC, Jeremy DeHaan wrote:
So I was reading this: http://wiki.dlang.org/Access_specifiers_and_visibility
...

How will it be any different from

module foo.barstuff;

package:

// declarations

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.

Reply via email to