Why do private member variables behaved like protected in the same module when creating deriving class?
unprotected-entity
unprotected-entity at gmail.com
Sat Oct 27 15:24:19 UTC 2018
On Saturday, 27 October 2018 at 14:20:10 UTC, Steven
Schveighoffer wrote:
>
> If b didn't have an `x` in it, then how would this work?
>
Only in D, does b have x in it.
In C++, Java and C#, b does *not* have x in it.
More information about the Digitalmars-d
mailing list