char[] ported from C to char[0] in the D core library

badlink via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 9 10:58:08 PDT 2015


On Wednesday, 9 September 2015 at 16:59:09 UTC, Adam D. Ruppe 
wrote:
> That's typically right, but since this case does it in-place 
> instead of pointed, the zero length array is most accurate.

I didn't consider that the name is placed right after the struct. 
Thanks !


More information about the Digitalmars-d-learn mailing list