DIP 1027--String Interpolation--Final Review Discussion Thread

Walter Bright newshound2 at digitalmars.com
Sun Feb 2 07:20:37 UTC 2020


On 1/31/2020 3:37 AM, Jonathan Marler wrote:
> On Friday, 31 January 2020 at 02:29:15 UTC, Walter Bright wrote:
>> It just doesn't work and be compatible with the C ABI.
> 
> Could you clarify the problem?

If you have a C function:

    void foo(char a, char b, char c);

and pass it a:

    struct S { char a, b, c; }

it won't be passed the same way.




More information about the Digitalmars-d mailing list