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

Guillaume Piolat first.last at gmail.com
Fri Jun 3 10:12:04 UTC 2022


On Friday, 3 June 2022 at 05:58:06 UTC, Mike Parker wrote:
>
> No, it's not sad.

+1, not everything has to be decoupled.
Being in the same file means you want those things to be coupled, 
and thus you get that.
I much prefer that to the "friend" thing in C++.




More information about the Digitalmars-d mailing list