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

Mike Parker aldacron at gmail.com
Fri Jun 3 15:41:04 UTC 2022


On Friday, 3 June 2022 at 12:13:47 UTC, forkit wrote:

>
> Practically speaking, anyone that uses a class in D, must be 
> put it in its own module - no exceptions.

That's just nonsense.


More information about the Digitalmars-d mailing list