|
Threads-Devel : |
Subject: Re: [Threads-devel] Comiling Thread Library
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-02-01 12:21:41
----- Original Message -----
From: "Anthony Williams" <anthony_at_[hidden]>
To: <threads-devel_at_[hidden]>
Sent: Saturday, January 31, 2009 10:15 AM
Subject: Re: [Threads-devel] Comiling Thread Library
>
> At Sat 31 Jan 2009 08:29:00 UTC, "vicente.botet"
> <vicente.botet_at_[hidden]> wrote:
>
>> From: "Anthony Williams" <anthony_at_[hidden]>
>>> The problem is the move function. It needs to be reverted to:
>>>
>>> boost::detail::thread_move_t<boost::thread>
>>> move(boost::detail::thread_move_t<boost::thread> t)
>>> {
>>> return t;
>>> }
>>>
>>
>> Hi,
>> Has this been included on the release 1.38?
>
> No. I thought I had, but a quick check on the release branch indicates
> still has the old version. Drat.
Hi,
I see on the release and truck branches of the "move.hpp" file the same thing.
#ifndef BOOST_NO_SFINAE
template<typename T>
typename enable_if<boost::is_convertible<T&,detail::thread_move_t<T> >, T >::type move(T& t)
{
return T(detail::thread_move_t<T>(t));
}
#endif
template<typename T>
detail::thread_move_t<T> move(detail::thread_move_t<T> t)
{
return t;
}
What is wrong?
Vicente