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] …
Continue reading “Watch window shows ‘CXX0058: Error: overloaded operator not found’”