Boost logo

Boost Users :

Subject: Re: [Boost-users] [thread][move] compiling move(thread) with Android NDK GCC4.7
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2013-01-16 01:44:01


On Mon, Jan 14, 2013 at 9:57 AM, Igor R <boost.lists_at_[hidden]> 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



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