Protected package?

12345swordy alexanderheistermann at gmail.com
Thu Oct 25 16:45:28 UTC 2018


On Wednesday, 24 October 2018 at 23:36:56 UTC, 12345swordy wrote:
> It says here that:
> "package extends private so that package members can be 
> accessed from code in other modules that are in the same 
> package. If no identifier is provided, this applies to the 
> innermost package only, or defaults to private if a module is 
> not nested in a package."
>
> Can this be extended to the protected visibility attribute?
> If not, then does it need an DIP to do so?
>
> -Alex

Well I don't think there no harm of doing so.


More information about the Digitalmars-d mailing list