Showing results for March 2020 - C++ Team Blog

Mar 30, 2020
11
0

Porting a C++/CLI Project to .NET Core

Mike Rousos
Mike Rousos

One of the new features of Visual Studio 2019 (beginning with version 16.4) and .NET Core 3.1 is the ability to build C++/CLI projects targeting .NET Core. This can be done either directly with cl.exe and link.exe (using the new option) or via MSBuild (using ). In this post, I'll walk through the steps necessary to migrate a simple C++/CLI interop...

C++
Mar 27, 2020
20
0

Announcing full support for a C/C++ conformant preprocessor in MSVC

Elnar Dakeshov
Elnar Dakeshov

Update June 8, 2021: The C11 and C17 announcement post has instructions on how to get the latest Windows SDK that works with the conformant preprocessor. We are excited to announce full support for a conformant preprocessor in the MSVC toolset starting with Visual Studio 2019 version 16.6 Preview 2. Since the original blog post announcing ...

Announcement
Mar 26, 2020
12
1

Doxygen and XML Doc Comment support

Nick Uhlenhuth
Nick Uhlenhuth

Whether you’re using Doxygen or XML Doc Comments, Visual Studio version 16.6 Preview 2 provides automatic comment stub generation as well as Quick Info, Parameter Help, and Member List tooltip support. Stub Generation By default, the stub generation is set to XML Doc Comments. The comment stub can be generated by typing a triple slash (///) or ...

C++
Mar 26, 2020
7
0

IntelliSense Code Linter for C++

Kyle Reed
Kyle Reed

Introducing the IntelliSense Code Linter for C++; a preview of "as-you-type" code analysis with fixups. Try it out today in Visual Studio 2019 16.6 Preview 2.

C++
Mar 13, 2020
2
0

More Spectre Mitigations in MSVC

Daniel Donenfeld
Daniel Donenfeld

In a previous blog post, Microsoft described the Spectre mitigations available under . These mitigations, while not significantly impacting performance, do not protect against all possible speculative load attacks, described in industry research as Load Value Injection. We are now adding two new switches and to provide a more complete mitigation ...

C++
Mar 6, 2020
5
0

Analyze your builds programmatically with the C++ Build Insights SDK

Kevin Cadieux
Kevin Cadieux

We're happy to announce today the release of the C++ Build Insights SDK, a framework that gives you access to MSVC build time information via C and C++ APIs. To accompany this release, we are making vcperf open source on GitHub. Because vcperf itself is built with the SDK, you can use it as a reference when developing your own tools. We’re ...

C++AnnouncementDiagnostics
Mar 2, 2020
8
1

The Performance Benefits of Final Classes

Sy Brand
Sy Brand

The specifier in C++ marks a class or virtual member function as one which cannot be derived from or overriden. For example, consider the following code:  If we attempt to write a new class which derives from `derived` then we get a compiler error:  The specifier is useful for expressing to readers of the code that a class is not to be ...

C++General C++ Series