Why do private member variables behaved like protected in the same module when creating deriving class?
12345swordy
alexanderheistermann at gmail.com
Fri Oct 26 19:28:43 UTC 2018
On Friday, 26 October 2018 at 18:57:00 UTC, Neia Neutuladh wrote:
> On Fri, 26 Oct 2018 18:16:38 +0000, 12345swordy wrote:
>> [...]
>
> D's `private` within a module is identical to Java's `private`
> within a class and its nested classes. The following is valid
> Java:
>
> [...]
Again I am referring to classes in the module not the module
itself.
More information about the Digitalmars-d
mailing list