|
Boost : |
Subject: Re: [boost] BOOST_NO_CXX11_CONSTEXPR and msvc-14.0
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-07-22 07:17:49
On 22.07.2015 14:02, Beman Dawes wrote:
> 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.
Boost.Config macros are also used in users' projects, so it's better to
have them defined correctly even if the compiler flaw does not affect
Boost libraries.
> 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.
+1, I think this would be the correct decision.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk