Is an automatic string variable a dynamic array in the sense of sec. 10.11.2 "Identity Expression" par. 4?

Dukc ajieskola at gmail.com
Sat Jul 16 13:38:14 UTC 2022


On Saturday, 16 July 2022 at 13:03:42 UTC, Mathias LANG wrote:
> So the "subtle difference" is that `assert("".ptr + 1 == 0);`.

You mean `assert("".ptr[0] == 0)`, right?


More information about the Digitalmars-d mailing list