|
Boost Users : |
Subject: Re: [Boost-users] [thread][move] compiling move(thread) with Android NDK GCC4.7
From: Igor R (boost.lists_at_[hidden])
Date: 2013-01-14 12:57:20
> 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...
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