On Friday, 5 May 2017 at 15:05:21 UTC, jmh530 wrote:
On Friday, 5 May 2017 at 11:30:25 UTC, 9il wrote:
Hi,
Could we introduce special attribute for struct definitions to
make function ABI look like it accepts all fields as separate
data (recursively)?
I would think that a special attribute would require a DIP.
The attribute can be implemented as library definition + compiler
magic.
Yes, probably DIP is required. But the idea is very simple and I
want to get first feedback from compiler maintainers before we
start to work on DIP.