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

zjh fqbqrr at 163.com
Wed Jun 8 08:47:33 UTC 2022


On Wednesday, 8 June 2022 at 08:45:54 UTC, zjh wrote:

>  That is just as abominable, given friends
>> are rare in "properly" designed OOP code.
>
> Right!

I even forgot `friend`. I don't need `friend`.



More information about the Digitalmars-d mailing list