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).
CString s = x[“test”]; // No compiler warning. Result is “t”
This entry was posted
on Tuesday, August 26th, 2014 at 11:37 am and is filed under C++.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
Comments are closed.
>devblog_ is proudly powered by
WordPress and Outlook sync software.
and Comments (RSS).