This needs to be fixed

Max Samukha maxsamukha at gmail.com
Wed Aug 28 17:06:22 UTC 2024


On Wednesday, 28 August 2024 at 16:37:12 UTC, Max Samukha wrote:
>         ref Outer outer() => *cast(Outer*)(cast(void*)&this - 
> field.offsetof);

Looks like the name can be mixed-in directly:

```
ref Outer outer() => *cast(Outer*)(cast(void*)&this - 
mixin(name).offsetof);
```


More information about the Digitalmars-d mailing list