Boost logo

Boost Users :

Subject: Re: [Boost-users] State of context and coroutine
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-07-05 01:23:52


On 5/07/2016 00:38, Daniel Hofmann wrote:
> On 07/04/2016 12:42 AM, Gavin Lambert wrote:
>> Although on that note:
>>
>> http://www.boost.org/doc/libs/1_61_0/ states that Coroutine2 is a
>> C++14 library.
>>
>>
>> http://www.boost.org/doc/libs/1_61_0/libs/coroutine2/doc/html/coroutine2/overview.html
>> states that Coroutine2 is a C++11 library.
>>
>> Which of these is true?
>
> Both.
>
> Reading the Boost 1.61 changelog:
>
>> http://www.boost.org/users/history/version_1_61_0.html
>>
>> Context:
>> - execution_context: relaxed to C++11
>> Coroutine2:
>> - relaxed to C++11
>
> It looks like Boost >=1.59, <1.61 has to be build with
> CXXFLAGS="-std=c++14", which is probably not the default. Failing to do
> so results in linker issues when using Boost.Coroutine2.
>
> Boost >=1.61 relaxes Boost.Coroutine2 to C++11.

Ok, but that's not "both", it means the first is wrong and should be
corrected.


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