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

rikki cattermole rikki at cattermole.co.nz
Sun Oct 28 05:17:21 UTC 2018


On 28/10/2018 6:11 PM, Jonathan M Davis wrote:
> Honestly, I have_never_  seen a bug caused by the fact that D makes private
> restrict access to the module level and not the class or struct level. From
> everything I've seen, this is entirely an issue of people not liking the
> idea and not something that's an actual problem in practice.

Which is why when we have "anonymous" people posting these, we tend to 
not reply to them. It does not lead to useful discussions for anyone.


More information about the Digitalmars-d mailing list