Boost logo

Boost :

Subject: Re: [boost] BOOST_NO_CXX11_CONSTEXPR and msvc-14.0
From: Beman Dawes (bdawes_at_[hidden])
Date: 2015-07-22 07:02:12


On Tue, Jul 21, 2015 at 4:48 PM, Peter Dimov <lists_at_[hidden]> wrote:

> I see that BOOST_NO_CXX11_CONSTEXPR is no longer being defined for
> msvc-14.0. Even the RTM version has spotty support for constexpr though;
> the techniques in my metaprogramming article, for example, don't work.

Given that constexpr was still undergoing development between RC and RTM,
it isn't surprising that there are still problems. Are the problems so
serious we should continue to define BOOST_NO_CXX11_CONSTEXPR?

Remember that the usual criteria for defining a BOOST_NO_WHATEVER macro is
that the problem impacts Boost library code. So even if there are some bugs
in the implementation of a C++11 feature, if they are not impacting Boost
libraries, we usually don't bother to define the macro.

Given we are so late in the 1.59 release cycle, we may want to leave
BOOST_NO_CXX11_CONSTEXPR defined in master until after 1.59 ships to be
conservative.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk