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

Zot Zot at Zot.Zot
Wed Oct 31 20:46:05 UTC 2018


On Monday, 29 October 2018 at 09:25:07 UTC, unprotected-entity 
wrote:
> Just how often does one need to access the private members of a 
> class, within a module?

a lot actually. e.g. unittests


More information about the Digitalmars-d mailing list