
Le 16/01/13 18:38, Jeffrey Lee Hellrung, Jr. a écrit :
On Wed, Jan 16, 2013 at 1:27 AM, Igor R
mailto:boost.lists@gmail.com> 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