Showing results for Writing Code - C++ Team Blog

Jun 29, 2023
3
5

AddressSanitizer continue_on_error

Jim Radigan
Jim Radigan

Visual Studio 17.6 comes with new functionality in the Address Sanitizer runtime which provides a new “checked build” for C and C++. This new runtime mode diagnoses and reports hidden memory safety errors, with zero false positives, as your app runs. Introduction C++ memory safety errors are a top concern for the industry. In Visual Studio 17.6, ...

C++Pure Virtual C++Writing Code
Feb 1, 2022
0
0

GSL 4.0.0 is Available Now

Dmitry Kobets
Dmitry Kobets

GSL 4.0.0 has been released! Here is a summary of the changes.

C++AnnouncementGeneral C++ Series
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
Oct 28, 2020
4
0

Even More New Safety Rules in C++ Code Analysis

Hwi-sung Im
Hwi-sung Im

In Visual Studio version 16.8 Preview 3,  we have added a few safety rules to C++ Code Analysis that can find some common mistakes, which can lead to bugs ranging from simple broken features to costly security vulnerabilities. These new rules are developed around issues discovered in production software via security reviews and incidents requiring ...

C++DiagnosticsWriting Code
Oct 2, 2020
13
0

New Safety Rules in C++ Code Analysis

Hwi-sung Im
Hwi-sung Im

In Visual Studio version 16.8 Preview 3,  we are adding a few safety rules to C++ Code Analysis that can find some common mistakes, which can lead to bugs ranging from simple broken features to costly security vulnerabilities. These new rules are developed around issues discovered in production software via security reviews and incidents requiring ...

C++New FeatureDiagnostics
Apr 16, 2020
2
0

GSL 3.0.0 Release

Jordan Maples
Jordan Maples

Update June 4th, 2020 - GSL version 3.1.0 has been released. Please see the latest release page for information regarding GSL 3.1.0. For all future updates, please see refer to the release page on GitHub.   GSL 3.0.0 Release Version 3.0.0 of Microsoft's implementation of the C++ Core Guidelines Support Library (GSL) is now available for ...

C++AnnouncementGeneral C++ Series
Nov 4, 2019
5
0

Visual Studio Code C++ extension: Nov 2019 update

Marian Luparu
Marian Luparu

Find All References, Rename Symbol refactoring, support for localization, new navigation breadcrumb controls, and improvements to the Outline view are only a few of the improvements in the November 2019 update of Visual Studio Code C++ extension.

Visual Studio CodeAnnouncementWriting Code
Apr 24, 2019
3
0

Improved C++ IntelliCode now Ships with Visual Studio 2019

Nick Uhlenhuth
Nick Uhlenhuth

IntelliCode support for C++ previously shipped as an extension, but it is now an in-box component that installs with the “Desktop Development with C++” workload in Visual Studio 2019 16.1 Preview 2. Make sure that IntelliCode is active for C++ by enabling the “C++ base model” under Tools > Options > IntelliCode > General:    This ver...

C++Writing Code
Sep 4, 2018
0
6

std::optional: How, when, and why

Casey Carter
Casey Carter

This post is part of a regular series of posts where the C++ product team here at Microsoft and other guests answer questions we have received from customers. The questions can be about anything C++ related: MSVC toolset, the standard language and library, the C++ standards committee, isocpp.org, CppCon, etc. Today’s post is by Casey Carter. C++...

Writing Code