[BetterC] Struct of size_ts and pointer decomposition before calling.
jmh530 via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 5 08:05:21 PDT 2017
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.
Would it be possible to fix this without an attribute? Such as
with __traits(allMembers, Slice) and
RepresentationTypeTuple!Slice? Or better compiler optimizations?
More information about the Digitalmars-d
mailing list