You can use pure inheritable, which will remove that header:
type
Foo {.pure inheritable.} = object
i: int
Bar = object of Foo
j: int
- struct inheritance with same memory layout as C++ cmc
- Re: struct inheritance with same memory layout as C++ aviator
