C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Did You See: Improve Your Build Times With IncrediBuild and Visual Studio 2015
Did you see this post Improving your build times with IncrediBuild and Visual Studio 2015 on the Visual Studio blog?IncrediBuild is a software acceleration technology that allows builds, tests, and other development processes to execute in parallel over a distributed network. It works locally on your development box and over a build server, and can also make use of idle CPU cycles in other computers over the entire network. In addition, developers with Visual Studio can use IncrediBuild to scale to the cloud via Azure to add more computing resources, substantially increasing performance, speeding up build ti...
Using Visual Studio 2015 to debug an Android app built with Marmalade
For this blog post, we welcome Alex Baude of Marmalade (https://www.madewithmarmalade.com) as a guest author on our blog. His team’s most recent release of Marmalade Platform now supports Visual Studio 2015 and we invited him to tell us more about their work on this. Visual Studio 2015 provides new cross-platform native development technology for building and debugging cross-platform C++ code on the Android platform. Out-of-the-box, Visual Studio 2015 offers templates based on the Android Native-Activity to quickly create high-performance applications. The Marmalade Platform includes a cross-platform C++ ...
STL Fixes In VS 2015 Update 1
VS 2015 Update 1 is now available, and it contains numerous STL fixes. (This is the first time since 2010 SP1 that we've shipped STL fixes outside of a major version. Nothing was severely broken in 2015 RTM - we're just trying to deliver fixes to you faster, and our internal processes are making this easier.) As usual, I've written up an exhaustive changelog, like Part 1 and Part 2 for the fixes in 2015 RTM. Note that while Update 1 contains many compiler/IDE/etc. improvements (including partial support for Expression SFINAE), they aren't mentioned here - I can't personally keep track of e...
Clang with Microsoft CodeGen in VS 2015 Update 1
C++ Core Guidelines Checkers available for VS 2015 Update 1
[This post was written by Andrew Pardoe and Neil MacIntosh] Update: The CppCoreCheck tools are now part of VS 2017: https://blogs.msdn.microsoft.com/vcblog/2016/10/12/cppcorecheck. Back in September at CppCon 2015 Neil announced that we would be shipping new code analysis tools for C++ that would enforce some of the rules in the C++ Core Guidelines. (A video of the talk is available here: https://www.youtube.com/watch?v=rKlHvAw1z50 and slides are available on the ISOCpp GitHub repo.) Earlier this week we made the first set of those code analysis tools freely available as a NuGet package that can be installed b...
C++ Modules in VS 2015 Update 1
点这里看中文版 [This post was written by Gabriel Dos Reis and Andrew Pardoe] Update: See this post on using the Standard Library via modules in MSVC. The VC++ team is excited to preview a new feature in VS 2015 Update 1: The first experimental implementation of A Module System for C++, proposed for C++17. That proposal was approved by the C++ standards Evolution Working Group for a C++17 Technical Specification at the Fall 2015 meeting in Kona, Hawai’i. The draft wording for the Technical Specification is under review by the C++ Standards Core Working Group. Modules are often talked about as a way to speed up compilatio...
Partial Support for Expression SFINAE in VS 2015 Update 1
In Visual Studio 2015 Update 1, we added partial support for C++11 core language feature Expression SFINAE. What is SFINAE? SFINAE is an acronym for ‘Substitution Failure Is Not An Error’. The idea is that when the compiler tries to specialize a function template during overload resolution, it is ok if the specialization fails as long as there are other valid candidates. C++11 introduced features like decltype and constexpr, and it is more common to have expressions during the template argument deduction and substitution process. The C++ standards committee clarified the SFINAE rules for expressions i...
Constexpr in VS2015 Update 1
Visual Studio 2015 RTM shipped with support for constant expressions as specified in the C++11 language standard. The release received lots of excellent feedback from our users and the C++ community. Using that feedback, we've been working on refining our implementation for VS 2015 Update 1. Our goal with VS 2015 Update 1 was to finish up the last significant feature work for C++11 constexpr and improve our implementation's robustness. This blog post is going to provide some notes to explain where VS 2015 Update 1 puts us and where we're going with constexpr support. Static Initializers VS 2015 shipped with ...
Visual Studio 2015 Update 1 Is Here
Did you miss the Visual Studio 2015 Update 1 announcement yesterday on the Visual Studio blog? Keep checking back here for more details about these and other features.Share your feedback, suggestions, thoughts, and ideas on UserVoice, through the in-product feedback UI, or file a bug through the Visual Studio Connect site. Thanks!