On Sunday, November 10, 2013 08:43:40 Meta wrote: > 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?
Pretty much as long as D has existed AFAIK. If there was ever a time that it wasn't the case, it was before D hit 1.0. - Jonathan M Davis
