Non-ugly ways to implement a 'static' class or namespace?

forky forky at gmail.com
Mon Feb 20 05:21:44 UTC 2023


On Friday, 10 February 2023 at 07:04:31 UTC, Max Samukha wrote:
>
> ...
> Having class-private doesn't preclude module-private. Dennis 
> even submitted a PR implementing class-private, but it stalled 
> because people couldn't agree on whether class-private should 
> be "private to class" or "private to class instance".

It likely the 'disagreement' was intentional .. i.e. to stall ;-)

But in any case, it should be class private.



More information about the Digitalmars-d-learn mailing list