16 May
2012
16 May
'12
4:13 a.m.
I'm using Clang on the Mac without the C++11 dialect enabled in this project. With BOOST_NO_RVALUE_REFERENCES defined, in Boost 1.49, how can I write a function returning an object of type unique_future<T> ? I tried changing std::move to boost::move which I expected to work. I tried fiddling with thread_move_t explicitly. I can't get anything to work. What's the magic formula?