I'm sorry, I take it back. Things were fine until I included
Dan Bloomquist wrote
I'm sorry, I take it back. Things were fine until I included <boost/hana.hpp> I had been testing with <boost/hana/core/when.hpp> and the likes of: template <class T> constexpr T pi = T(3.1415926535897932385); // variable template which would not work until I patched.
And to quote: In this release, we've updated the C++ compiler and standard library with enhanced support for C++11 and C++14 features, as well as preliminary support for certain features expected to be in the C++17 standard. The most notable compiler changes include complete support for generalized constexpr.
Maybe next time.... Best, Dan.
So, from reading the release notes and the compiler support at [1], I think Visual Studio 15 Preview 5 should support Hana, right? I'll check whether I can try running the tests with this release on Appveyor. Thanks for the heads up. Louis [1]: http://en.cppreference.com/w/cpp/compiler_support -- View this message in context: http://boost.2283326.n4.nabble.com/Microsoft-and-hana-tp4689376p4689388.html Sent from the Boost - Users mailing list archive at Nabble.com.
On 30 Oct 2016 at 9:51, Louis Dionne wrote:
So, from reading the release notes and the compiler support at [1], I think Visual Studio 15 Preview 5 should support Hana, right? I'll check whether I can try running the tests with this release on Appveyor. Thanks for the heads up.
A little birdy at CppCon told me that Hana is in the Visual C++ test suite and as soon as the Ranges TS works in MSVC without source workarounds, Hana is next on the list. I got the distinct impression that VS15 won't have that, but a later update to iy will. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Louis Dionne wrote
So, from reading the release notes and the compiler support at [1], I think Visual Studio 15 Preview 5 should support Hana, right?
Not quite, unfortunately. At least this bug also affects hana: https://connect.microsoft.com/VisualStudio/feedback/details/2159140/ -- View this message in context: http://boost.2283326.n4.nabble.com/Microsoft-and-hana-tp4689376p4689411.html Sent from the Boost - Users mailing list archive at Nabble.com.
On Sat, Oct 29, 2016 at 4:02 PM, Dan Bloomquist
I'm sorry, I take it back. Things were fine until I included
I had been testing with and the likes of: template<class T> constexpr T pi = T(3.1415926535897932385); // variable template which would not work until I patched. And to quote: In this release, we've updated the C++ compiler and standard library with enhanced support for C++11 and C++14 features, as well as preliminary support for certain features expected to be in the C++17 standard. The most notable compiler changes include complete support for generalized constexpr.
Maybe next time....
Best, Dan.
Variable templates have been supported for a while. I know I have been using them in the compiler source code itself for a long time now. If you find a bug with respect to variable template support, please do let the VC++ team know about it.
participants (5)
-
Dan Bloomquist
-
Gabriel Dos Reis
-
Louis Dionne
-
Marcel Raad
-
Niall Douglas