Boost logo

Boost :

Subject: Re: [boost] [move] new rvalue reference emulation
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-01-23 13:16:11


Le 23/01/12 17:55, Jeffrey Lee Hellrung, Jr. a écrit :
> On Sat, Jan 21, 2012 at 4:22 PM, Vicente Botet<vicente.botet_at_[hidden]>wrote:
>
>> Hi,
>>
>> Are there any news about this Move improvements?
>>
>> Best,
>> Vicente
>
> None from my end.
>
> I've thought about it a bit since, and I *think* you can get by using this
> with any change to the existing Boost.Move infrastructure (only additions),
> so, if desired, it could be added to an "advanced techniques in C++03"
> section or something like that.
>
> Do you think it's worth adding to Boost.Move?
>
I need to emulate the thread constructor

template <class F, class ...Args> explicit thread(F&& f, Args&&... args);

at least for 2 args.

If I have understood, there are some constraints when applying your
technique on constructors, but guess that this is better than nothing.

So yes, I would like to see a clear description on how to emulate this
kind of functions with Boost.Move+ your additions

Best,
Vicente


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