Boost logo

Boost :

Subject: Re: [boost] Fusion and constexpr, C++11 support entirely broken on develop
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2014-10-05 19:19:39


On 05/10/2014 07:44 p.m., Mathias Gaunard wrote:
> Hi folks,
>
> I recently decided to move all of my code to C++11, and I usually use
> the develop version of each library so that I can have the latest
> developments and can easily contribute.
>
> However, Fusion appears to be fundamentally broken on develop whenever
> C++11 is enabled with GCC. It works fine with C++03.
>
> I don't think this is a situation that should ever happen; while develop
> is for libraries undergoing development, it shouldn't be totally broken
> either.
>
> In particular, the problem is that it uses BOOST_CONSTEXPR in contexts
> where C++11-constexpr is invalid, but where it is valid in C++14.
>
> Should there be a separate BOOST_CONSTEXPR14 macro?

This is the motive for https://github.com/boostorg/config/pull/39

Regards,

-- 
Agustín K-ballo Bergé.-
http://talesofcpp.fusionfenix.com

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