On Thursday, 5 July 2018 at 10:57:17 UTC, Mike Franklin wrote:

I failed to see a benefit from being able to use classes with static members only (abuse as namespace?)

Yeah, pretty much, but also static inheritance. You can see the pattern where I use it at https://github.com/JinShil/stm32f42_discovery_demo/blob/c324bbf861cf258a819478481521528fca88dcb3/source/stm32f42/pwr.d#L24

Also, it allows me to dot-walk the hierarchy in my editor with code-completion and documentation comments. I describe this and illustrate with images in the readme.

https://github.com/JinShil/stm32f42_discovery_demo

Mike



Reply via email to