[Issue 17623] Unexpected failure of an assertion on empty strings

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 25 11:30:00 UTC 2021


--- Comment #2 from kdevel <kdevel at vogtner.de> ---
(In reply to Vladimir Panteleev from comment #1)
> The distinction is mainly that D string literals are zero-terminated, so
> that they can be implicitly converted to a C string (const char*).

The nonidentity of null and "" arises from null not having a NUL "at the end"?


More information about the Digitalmars-d-bugs mailing list