C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

Image Watch is now available for Visual Studio 2017

点这里看中文版 Image Watch is a Visual Studio extension that provides a watch window for viewing in-memory bitmaps when debugging native C++ code. It comes with built-in support for OpenCV image types (e.g. cv::Mat, cv::Mat_<> , etc.). We know that, for many of you, this is an important part of your C++ debugging experience. We...

Broken Warnings Theory

Перевод статьи на русском The "broken warnings theory" is a fictional theory of the norm-setting and signaling effect of coding practices and bug-checking techniques in 3rd party libraries on new bugs and design anti-patterns. The theory states that maintaining and monitoring warning levels to prevent small problems ...

Visual Studio Code C/C++ extension Dec 2017 update – support for more Linux distros

Happy holidays! Today we’re shipping the December 2017 update to the Visual Studio Code C/C++ extension – our last major update of this year, with out-of-box support for more Linux distros and built-in guidance on how to configure for a better IntelliSense experience. The original blog post, which provides an overview of this extension, ...

C++17 Feature Removals And Deprecations

Technology advances by inventing new ways of doing things and by discarding old ways. The C++ Standardization Committee is simultaneously adding new features and removing old features at a gradual pace, because we've discovered thoroughly better ways of writing code. While feature removals can be annoying, in the sense that programmers need to...

Improving the debugging experience for std::function

[Update: This functionality is now enabled via the "Just My Code" feature in Visual Studio for any STL types or 3rd-party library types of your choosing. For more details, check out C++ Just My Code Stepping with Visual Studio blogpost] We received a Visual Studio User Voice suggestion to make "StepInto" go directly to user code, skipping ...

MSVC conformance improvements in Visual Studio 2017 version 15.5

The MSVC toolset included in Visual Studio version 15.5 preview 4 includes many C++ conformance improvements. Throughout the VS2015 and VS2017 releases we've focused on conformance with C++ standards, including C++17 features. With VS2017 version 15.5, MSVC has implemented about 75% of C++17 core language and library features. These features ...

C++ Core Check improvements in Visual Studio 2017 15.5

点这里看中文版 This post was written by Sergiy Oryekhov. In Visual Studio 2017 version 15.5 Preview 4 we have refreshed our C++ Core Guidelines Check extension for native code static analysis tools. Most of the work since 15.3 has been focused on new rules that will help developers starting new projects write safer C++ and those with...