`restricted` member variables

bauss jj_1337 at live.dk
Tue Jun 21 12:20:15 UTC 2022


On Tuesday, 21 June 2022 at 12:18:35 UTC, bauss wrote:
> On Tuesday, 21 June 2022 at 11:23:36 UTC, Ola Fosheim Grøstad 
> wrote:
>> (anything more complex than a «hidden» specifier should be 
>> rejected)
> ...

I do agree that it shouldn't be more complex than just a "hidden" 
keyword tho.

Ex. `hidden int x` should be the only thing, nothing more and 
nothing less.

I don't think it's necessary to add anything more complex like 
controlling who has access etc.


More information about the Digitalmars-d mailing list