Struct fields and properties as alias members

Ben Jones fake at fake.fake
Wed Dec 8 19:06:19 UTC 2021


On Wednesday, 8 December 2021 at 18:23:25 UTC, Adam D Ruppe wrote:
> On Wednesday, 8 December 2021 at 18:07:32 UTC, Ben Jones wrote:

I went with the mixin approach, which seems to work fine except 
that I couldn't declare the mixin inside a function, so the 
definition is pretty far away from use, but that's not a 
showstopper.

Thanks for your excellent explanations + suggestions


More information about the Digitalmars-d-learn mailing list