`restricted` member variables

forkit forkit at gmail.com
Thu Jun 23 06:33:37 UTC 2022


On Thursday, 23 June 2022 at 06:09:41 UTC, Ola Fosheim Grøstad 
wrote:
>
>
> My experience from C++ is that I end up with multiple 
> «private:» to get the best structure.
>
> D needs to stop thinking that it can take just one more @ugly. 
> Syntax matters.

well whatever the syntax.... it's a little irrelevant at such an 
early stage.

I'm using dkorpel's 'private-this' branch of dmd, and it's doing 
just what I want.

The world has not collapsed ;-)

https://github.com/dkorpel/dmd



More information about the Digitalmars-d mailing list