Showing results for warning - C++ Team Blog

May 11, 2021
2
0

New Static Analysis Rule for Bounds Checking

Jordan Maples
Jordan Maples

We have added a new experimental static analysis rule in Visual Studio 16.10 version Preview 3 - C26458, . The new warning is a more precise and less noisy version of warning C26446, . Both warnings analyse standard containers for unchecked element access and they both share the warning message: “Prefer to use instead of unchecked subscript operat...

C++General C++ SeriesWriting Code