I want to pass an rvalue through std::bind to a function that takes an rvalue reference in C++0x. I can\'t figure out how to do it. For example:
std::bind
One more improvement in GManNickG's answer and I've got pretty solution:
auto f = std::bind( foo, std::bind(std::move, Movable()) );
(works in gcc-4.9.2 and msvc2013)