bug? alias this <-> opDispatch interaction

Meta jared771 at gmail.com
Sat Nov 9 23:43:40 PST 2013


On Sunday, 10 November 2013 at 05:51:11 UTC, Jonathan M Davis 
wrote:
> Actually, "" isn't null. They're equal, but they aren't the 
> same. [] and null
> are the same, but "" isn't the same, because it's a string 
> literal, and string
> literals have a byte with '\0' one past their end so that they 
> can be passed
> directly to C functions.

I didn't know that. How long has this been the case?


More information about the Digitalmars-d mailing list