Posts by this author

Apr 6, 2021
5
0

Sign Up for the Pure Virtual C++ 2021 Conference

Last year we ran the first Pure Virtual C++, a free one-day virtual conference for the whole C++ community. This May we're doing it again! Sign-up for free on the website to be the first to hear about our program schedule, access our extra on-demand C++ demos, and get more virtual surprises. The live event will run May 3rd 14:30-17:30 UTC on...

C++Announcement
Feb 4, 2021
8
3

Abbreviated Function Templates and Constrained Auto

Declaring function templates in C++ has always been quite verbose. C++20 added a new way of doing so that is more terse and more consistent with lambdas: abbreviated function templates. This short post will show how to use this syntax and how it applies to C++20 concepts. Abbreviated Function Templates C++11 introduced lambdas, which look like th...

C++
Jan 25, 2021
2
0

A Year of Conference Talks from the Microsoft C++ Team

As we learned to adapt to virtual conferences last year we presented more than 20 talks on a wide range of topics. I've collected them all here so you can easily learn about the latest advances in our tooling as well as the cutting edge of C++ features. C++ Europe (February) WSLConf (March) Pure Virtual C++ (April) ...

C++
Nov 20, 2020
3
0

Conditionally Trivial Special Member Functions

The C++ standards committee is currently focusing on adding features to the language which can simplify code. One small example of this in C++20 is conditionally trivial special member functions, which we added support for in Visual Studio 2019 version 16.8. Its benefit isn’t immediately obvious unless you’ve been deep down the rabbit hole of high-...

General C++ SeriesC++
Sep 14, 2020
15
0

A Multitude of Updates in Visual Studio 2019 version 16.8 Preview 3

Visual Studio 2019 version 16.8 Preview 3 comes with a huge collection of updates for C++ programmers. Download today to try out new additions in conformance, performance, and productivity. C++20 We’ve improved support for major C++20 features across our compiler, standard library, and IDE. You can now use Modules, Concepts, Coroutines, and (some...

Announcement
May 6, 2020
0
0

Pure Virtual C++ Conference 2020 Videos and Survey Available

The videos of all Pure Virtual C++ 2020 sessions are now available on YouTube. If you attended the conference, we'd love to hear your feedback. Please fill in our survey so we know what to improve if we run another similar event in the future!

Announcement
Apr 16, 2020
0
0

Sign Up For Pure Virtual C++ Conference 2020

Pure Virtual C++ 2020 is a free single-track one-day virtual conference for the whole C++ community. It is taking place on Thursday 30th April 2020 from 14:30 to 23:00 UTC. Sign up on the event website. All talks will be pre-recorded and streamed on YouTube Live with a live Q&A session with the speakers. After the event, the talks will be av...

Announcement
Mar 2, 2020
8
1

The Performance Benefits of Final Classes

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 der...

C++General C++ Series
Oct 30, 2019
4
0

Microsoft C++ Team At CppCon 2019: Videos Available

Last month a large contingent from the Microsoft C++ team attended CppCon. We gave fourteen presentations covering our tools, developments in the standard, concepts which underlie the work we do, and more. We also recorded an episode of CppCast with Microsoft MVPs Rob Irving and Jason Turner. You can hear more about the Open Sourcing of MSVC's S...

Announcement
Oct 1, 2019
4
0

C++20’s Conditionally Explicit Constructors

is a C++20 feature for simplifying the implementation of generic types and improving compile-time performance. In C++ it is common to write and use types which wrap objects of other types. and are two examples, but there are plenty of others in the standard library, Boost, and likely your own codebases. Following the principle of least astoni...

General C++ Series