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

Ali Çehreli acehreli at yahoo.com
Mon Feb 6 08:30:41 UTC 2023


On 2/5/23 17:50, thebluepandabear wrote:

 > I don't see why you'd want

I am not saying it would be wanted or needed.

 > to expose a static class/namespace as a
 > variable, or any of such similar things. That would give no benefits to
 > the programmer?

Perhaps. As I responded to ProtectAndHide, if there is a benefit then it 
is useful by definition; if there is no benefit then it wouldn't be used 
anyway.

Ali



More information about the Digitalmars-d-learn mailing list