C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

Updates to Expression SFINAE in VS 2017 RC

Throughout the VS 2015 cycle we've been focusing on the quality of our expression SFINAE implementation. Because expression SFINAE issues can be subtle and complex we've been using popular libraries such as Boost and Microsoft's fork of Range-v3 to validate our implementation and find remaining bugs. As we shift the compiler team's focus to ...

Expression SFINAE improvements in VS 2017 RC

This post written by Xiang Fan, Andrew Pardoe, and Gabriel Dos Reis This post was updated to reflect progress we've made through VS 2017 RC since VS 2015 Update 3. Throughout the VS 2015 cycle we've been focusing on the quality of our expression SFINAE implementation. Because expression SFINAE issues can be subtle and complex we've been ...

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