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

zjh fqbqrr at 163.com
Tue Jun 7 09:09:52 UTC 2022


On Tuesday, 7 June 2022 at 09:05:36 UTC, Ola Fosheim Grøstad 
wrote:

> TLDR; I strongly disagree.

`Class encapsulation` is a must for ordinary `c++ people`!
I am not an expert. I only know that `class encapsulation` is 
very cool, at least more comfortable than `module encapsulation`.





More information about the Digitalmars-d mailing list