13 Apr
2012
13 Apr
'12
11:29 a.m.
On 4/12/2012 7:40 PM, Jeffrey Lee Hellrung, Jr. wrote:
Try
return boost::move(future_result);
Also, I'm pretty sure you'd need this regardless of the presence of (true) rvalue references.
Actually, I'm writing: #ifdef BOOST_NO_RVALUE_REFERENCES return future_result; // built-in mover via implicit conversions #else return std::move(future_result); #endif boost::move was not available with 1.47, but std::move must be if rvalue refs are available. —John