Why do private member variables behaved like protected in the same module when creating deriving class?

Laurent Tréguier laurent.treguier.sink at gmail.com
Fri Oct 26 21:49:31 UTC 2018


On Friday, 26 October 2018 at 21:46:27 UTC, Laurent Tréguier 
wrote:
> On Friday, 26 October 2018 at 21:42:37 UTC, 12345swordy wrote:
>> ...Did you read the other post that I made before you made 
>> that reply?
>>
>> I swear I am repeating myself ad nauseam.
>
> You simply seemed to be implying that private had the same 
> effect as protected, which isn't the case.
> And yes, you are repeating yourself ad nauseam, since this is, 
> I believe, your 3rd thread about this whole thing about the 
> private keyword.

*this is actually only the second, apologies.


More information about the Digitalmars-d mailing list