On Wednesday, 9 November 2022 at 17:48:14 UTC, rmc wrote: > Could we make enums work the way structs do in importC? > > For example (example2d.d): > ``` > import example2; > > [...] Just a sidenote, but for some reason, casting it like this works: someFunc2((cast(typeof(my_struct.opts))eopt));