On Mon, Jan 14, 2013 at 9:57 AM, Igor R <boost.lists@gmail.com> wrote:
> 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...
...which have rvalue references?
- Jeff