>> 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.