|
Boost : |
Subject: Re: [boost] [Thread] Non-copyable boost::thread
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-05-17 17:25:30
----- Original Message -----
From: "Anthony Williams" <anthony.ajw_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, May 17, 2010 10:54 PM
Subject: Re: [boost] [Boost][Thread] Non-copyable boost::thread
>
> "Belcourt, Kenneth" <kbelco_at_[hidden]> writes:
>
> Vicente is right that I meant boost::move and boost::thread.
>
> boost::move is overloaded for boost::thread and anything else that uses
> boost::thread_move, so the above should "just work".
>
> See libs/thread/test/test_thread_move.cpp and
> libs/thread/test/test_thread_move_return.cpp
>
>> Since Boost.Thread has it's own partial move implementation in
>> boost::detail::thread_move, it seems that some work is necessary to
>> integrate (or re-implement) thread_move in terms of boost::move.
>> That's why I thought I'd ping Anthony and see if this is even worth
>> considering.
>
> Yes, there's a bit of work necessary to integrate Boost.Thread move
> support and Boost.Move, but it should still support move semantics
> through its own mechanism in the mean time.
Anthony, where is documented the boost::move function, I don't reach to find it?
Best,
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk