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

Mike Parker aldacron at gmail.com
Sat Oct 27 03:22:51 UTC 2018


On Saturday, 27 October 2018 at 03:20:43 UTC, Mike Parker wrote:


> still inherit y, i.e. it would have its own copy of y. private 
> working as intended.


I meant to say "would have its own copy of y, but would be unable 
to access it".


More information about the Digitalmars-d mailing list