On Thursday, 25 July 2024 at 10:50:04 UTC, Dom DiSc wrote:
```d @safe: struct S{ ```
Also just so you know, placing `@safe:` there will not affect the contents of `S`. It has to be inside the struct declaration to affect its contents.
IchorDev via Digitalmars-d-learn Thu, 25 Jul 2024 04:51:38 -0700
On Thursday, 25 July 2024 at 10:50:04 UTC, Dom DiSc wrote:
```d @safe: struct S{ ```
Also just so you know, placing `@safe:` there will not affect the contents of `S`. It has to be inside the struct declaration to affect its contents.