Boost logo

Boost :

Subject: Re: [boost] Boost.Fiber review January 6-15
From: Nat Goodspeed (nat_at_[hidden])
Date: 2014-01-22 19:34:50


On Wed, Jan 22, 2014 at 1:54 PM, Vicente J. Botet Escriba
<vicente.botet_at_[hidden]> wrote:

> Le 22/01/14 17:07, Nat Goodspeed a écrit :

>> Moreover (a key point) anyone invoking the Fiber API who is
>> constrained to C++03 features will not have movable-only types. In
>> that scenario, fiber(bind(callable, arg1, arg2)) *is* completely
>> equivalent to fiber(callable, arg1, arg2).

> I disagree. We have Boost/Move.

Hmm, okay.

>> So when discussing the requested variadic fiber constructor, I will
>> tease apart the C++11 and C++03 cases. I feel pretty comfortable
>> stating that the former is much more important than the latter.

> Agreed, but at least the C++03 must support movables types.

On seeing your response above, my impulse is to think you mean: "at
least with a C++11 compiler, the fiber constructor must support
movable types." Please clarify?

If in fact you mean C++03, may we interpret that as: "if the Fiber
library provides a C++03-compatible variadic fiber constructor, that
constructor must support movable types" ?


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