
14 Jan
2013
14 Jan
'13
5:57 p.m.
I believe you can only "boost::move" an lvalue. Aside from that, if you're using a C++03 std::vector, I don't think it'll be aware of the move semantics of boost::thread (just guessing on the types of your variables though, since you didn't spell them out), so I would expect this to trigger an error somewhere inside vector::push_back even if the move call compiled.
I forgot to mention, but the above code compiles under MSVC10 and iOS gcc toolchain...