C++ weirdness
Tuesday, August 26th, 2014
I’m not sure if it’s an official C++ weirdness or just Microsoft’s version.
But this seems to be legal C++ code as I discovered by accident (=bug).
long x=0;
CString s = x[“test”]; Â // No compiler warning. Result is “t”