`static` on module-level functions

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Jul 7 10:01:41 UTC 2023


Static does do something on functions when they are not free-functions.

https://dlang.org/spec/attribute.html#static

However yes, it does not describe what a free-function is there.

https://issues.dlang.org/show_bug.cgi?id=24038


More information about the Digitalmars-d-learn mailing list