Subject: Re: [boost] [bind][phoenix] Compliance with function template bind
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2011-12-19 13:22:56
On 12/19/2011 12:23 PM, Vicente J. Botet Escriba wrote:
> Le 19/12/11 17:31, Thomas Heller a écrit :
>> On 12/17/2011 10:41 AM, Vicente J. Botet Escriba wrote:
>>> Boosthas Boost.Bind and Boost.Phoenix that provides a bind function.
>>> Are them compliant with C++11 for 20.8.9 Function template bind (in
>>> particular move semantics)?
>>> If yes, how they work for C++03 compilers?
>>> If not, is there any plan to adapt them to support move semantics?
>> Hi Vicente,
>> Neither Boost.Bind nor the bind from Phoenix support move semantics
>> currently. Interesting fact: The vendor bind versions I tested (MSVC
>> 10 and gcc) are not fully move enabled either.
>> Move enable Pheonix bind shouldn't be that hard, i just didn't have
>> the chance to do so yet ...
> Boost.Thread is using bind internally and needs move semantics to
> provide a compliant implementation. I have created a ticket to track
> this as a feature request:
> #6299 <https://svn.boost.org/trac/boost/ticket/6299> c++11: Provide move
> semantic for bind function <https://svn.boost.org/trac/boost/ticket/6299>
Thanks, I will work on this ASAP.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk