how to make private class member private

bauss jj_1337 at live.dk
Sat Mar 17 17:29:37 UTC 2018


On Saturday, 17 March 2018 at 15:02:21 UTC, psychoticRabbit wrote:
> On Saturday, 17 March 2018 at 14:16:19 UTC, bauss wrote:
>>
>> I don't like the name @deny .....
>
> how about:
>
> @reallyis private string firstName_;
>
> mmm..perhaps not... then how about...
>
> @strictly private string firstName_;

Still introduces a new attribute. D already has a lot of 
attributes and it goes against how every other attribute for 
visibility works.

That's why my suggestion would work better, because the package 
attribute already works like that.


More information about the Digitalmars-d-learn mailing list