Boost logo

Boost :

Subject: Re: [boost] [thread] boost::future::then
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-10-10 04:47:02

Le 10/10/15 09:38, Mikael Olenfalk a écrit :
> On Sat, Oct 10, 2015 at 9:20 AM, Mikael Olenfalk <mikael.olenfalk_at_[hidden]>
> wrote:
>> On Fri, Oct 9, 2015 at 10:01 PM, Vicente J. Botet Escriba <
>> vicente.botet_at_[hidden]> wrote:
>>> Anyway, I'm sure that there are a lot of error in the documentation. What
>>> is not documented for you?
>> It was mostly the _PROVIDES_EXECUTORS macro which I couldn't find. I tried
>> to do the following documentation fix:
> I had another look and what confuses me is that _PROVIDES_EXECUTORS is
> never defined anywhere, except in the examples and tests where it is
> explicitly defined directly before including <boost/thread.hpp>.
> (That fact makes my PR wrong btw)
> Is BOOST_THREAD_PROVIDES_EXECUTORS supposed to be defined when using v4?
Hrr, Executors are newer than version 4 and even if they can be
considered as an extension, the async()/then() interface change and some
compilers don't support the Executor interface. This is why I didn't
defined the macro for version 4. Sorry for the confusion.

I'll add it as soon as the interface is stable (maybe in
BOOST_THREAD_VERSION 5) . Unfortunately it is not yet the case.

Don't worry for the PR. I will fix it myself.

Thanks for all.

Boost list run by bdawes at, gregod at, cpdaniel at, john at