Boost logo

Boost Users :

Subject: Re: [Boost-users] Microsoft and hana
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2016-10-31 04:38:38


On Sat, Oct 29, 2016 at 4:02 PM, Dan Bloomquist <boost_at_[hidden]> 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.
>

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.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net