Subject: [Boost-users] unique_future without rvalue references
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2012-05-16 00:13:31


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?