Boost logo

Boost Users :

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?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net