template? mixin? template mixins? for modifying a struct setup
Adam D Ruppe
destructionator at gmail.com
Fri May 20 15:30:46 UTC 2022
On Friday, 20 May 2022 at 14:54:31 UTC, Christopher Katko wrote:
>> If the declarations are at module scope, `static` has no
>> effect, and CTFE will be used for initialization.
>
> It won't use CTFE? Why is there a local module requirement?
"module scope" just means at the top level in a module. so not
inside a function.
More information about the Digitalmars-d-learn
mailing list