|
Boost Users : |
Subject: Re: [Boost-users] [thread][move] compiling move(thread) with Android NDK GCC4.7
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-01-16 13:06:34
Le 16/01/13 18:38, Jeffrey Lee Hellrung, Jr. a écrit :
> On Wed, Jan 16, 2013 at 1:27 AM, Igor R <boost.lists_at_[hidden]
> <mailto:boost.lists_at_[hidden]>> wrote:
>
> >> I forgot to mention, but the above code compiles under MSVC10
> and iOS
> >> gcc toolchain...
> >
> >
> > ...which have rvalue references?
>
> Yes, you're right, it turns out that while the above compilers have
> c++11 enabled by default, in ndk gcc4.7 it's disabled by default...
>
>
> One suggestion: lobby for Boost.Thread to adopt Boost.Move rather than
> its own internal move emulation machinery (or, better yet, supply a
> patch!), and additionally use the Boost.Container data structures,
> which are Boost.Move-aware AFAIK.
>
>
Boost.Thread make use of Boost.Move when BOOST_THREAD_USES_MOVE is
defined and can be used with Boost.Container or any standard c++
container. The problem is that it doesn't provides both emulations at once.
Vicente
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