Protected Members in Class

Paul Backus snarwin at gmail.com
Fri Dec 24 16:34:27 UTC 2021


On Friday, 24 December 2021 at 15:46:17 UTC, Salih Dincer wrote:
> On Friday, 24 December 2021 at 14:29:29 UTC, Paul Backus wrote:
>> 
>> `protected` in D means "this symbol can only be accessed from 
>> (a) the module where it's defined, and (b) classes that 
>> inherit from the class where it's defined."
>
> Please, can you show me this?

https://run.dlang.io/is/m1IvVr


More information about the Digitalmars-d-learn mailing list