|
Threads-Devel : |
Subject: Re: [Threads-devel] Comiling Thread Library
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-02-02 12:31:07
----- Original Message -----
From: "Anthony Williams" <anthony_at_[hidden]>
To: <threads-devel_at_[hidden]>
Sent: Sunday, February 01, 2009 9:35 PM
Subject: Re: [Threads-devel] Comiling Thread Library
> I didn't change the overload for boost::thread in
> boost/thread/detail/thread.hpp
>
Do you mean that
#ifdef BOOST_HAS_RVALUE_REFS
inline thread&& move(thread&& t)
{
return t;
}
#else
inline thread move(detail::thread_move_t<thread> t)
{
return thread(t);
}
#endif
should be
#ifdef BOOST_HAS_RVALUE_REFS
inline thread&& move(thread&& t)
{
return t;
}
#else
inline detail::thread_move_t<thread> move(detail::thread_move_t<thread> t)
{
return thread(t);
}
#endif
Vicente