String to boolean inconsistency
Tomek Sowiński
just at ask.me
Sat Dec 11 18:18:54 PST 2010
string s = "";
assert(s); // ok
assert(s != null); // fails
I guess that's a bug. But which one is right?
--
Tomek
More information about the Digitalmars-d
mailing list