ABI for static arrays

Timon Gehr timon.gehr at gmx.ch
Tue Feb 5 19:30:46 PST 2013


On 02/06/2013 03:38 AM, Marco Leise wrote:
> Good observation. It is possibly in there to allow char arrays
> aka string literals to be passed to C functions?
>

I do not think so. String literals are immutable(char)[], not 
immutable(char)[N]. They just have special implicit conversion behaviour.


More information about the Digitalmars-d mailing list