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

zjh fqbqrr at 163.com
Sat Jun 4 12:57:16 UTC 2022


On Saturday, 4 June 2022 at 12:28:41 UTC, Mike Parker wrote:


Obviously, adding a little code can make it convenient for all 
kinds of `'d'` programmers.
Is there no difference between `class level` encapsulation and 
`module level` encapsulation?



More information about the Digitalmars-d mailing list