Showing results for C++ Q&A Series - C++ Team Blog

Jun 27, 2019
10
1

Simplify Your Code With Rocket Science: C++20’s Spaceship Operator

Cameron DaCamara
Cameron DaCamara

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 Cameron DaCamara...

C++ Q&A SeriesGeneral C++ Series
Dec 11, 2018
0
1

Guaranteed Copy Elision Does Not Elide Copies

Sy Brand
Sy Brand

This post is also available on Simon Brand's blog C++17 merged in a paper called Guaranteed copy elision through simplified value categories. The changes mandate that no copies or moves take place in some situations where they were previously allowed, e.g.: You can see this behavior in compiler versions Visual Studio 2017 15.6, Clang 4, ...

C++ Q&A Series