Watch window shows ‘CXX0058: Error: overloaded operator not found’

If you add a Watch for std::vector using array subscript operator, like, myVector[5], then Visual Studio 2010 instead of showing value, will show the error: ‘CXX0058: Error: overloaded operator not found’. However when you cover std::vector with mouse, the tooltip watch will show correct values. The workaround for the STL vector is to use: myVector._Myfirst[5] […]

It seems that _SECURE_SCL_THROWS is deprecated in Visual Studio C++ 2010

It seems that _SECURE_SCL_THROWS is deprecated in Visual Studio C++ 2010. Because include file ‘Microsoft Visual Studio 10.0\VC\include\yvals.h’ has the following code block: #if _SECURE_SCL_THROWS #ifndef _SILENCE_DEPRECATION_OF_SECURE_SCL_THROWS … #undef _SECURE_SCL_THROWS #pragma _CRT_WARNING( _DEPRECATE_SECURE_SCL_THROWS ) … It gets undefined, and if you search c++ header files, there are no references to _SECURE_SCL_THROWS anymore. The strange part […]