`static` on module-level functions

IchorDev zxinsworld at gmail.com
Fri Jul 7 09:53:01 UTC 2023


On Friday, 7 July 2023 at 03:18:53 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> Yes, static on a free-function does not do anything.

Good to know. I think the D spec should definitely be amended to 
explicitly mention that static *can* be applied to them, but 
doesn't do anything.


More information about the Digitalmars-d-learn mailing list