Using closure in function scope to make "real" private class members

bauss jj_1337 at live.dk
Wed Jun 8 11:48:43 UTC 2022


On Wednesday, 8 June 2022 at 11:37:53 UTC, Ola Fosheim Grøstad 
wrote:
> On Wednesday, 8 June 2022 at 11:25:46 UTC, forkit wrote:
>> Still, I think I'd prefer 'hidden' actually. It's pretty clear 
>> what you're stating here with that word.
>
> It is important that it sounds like it is less accessible than 
> "private", I guess "hidden" sends that message.
>
> «hidden from module»
>
> «private to module»

Sounds good to me.


More information about the Digitalmars-d mailing list