Boost logo

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 11:57:44


>> I'm building my project with Android NDK toolchain (Boost1.51, GCC4.6
>> or GCC4.7), and I get the following error when trying to move thread.
>> Is there any workaround for this issue?
>>
>> //...
>> vector_.push_back(boost::move(thread(&func, arg)));
>> //...
>
> How is vector_ declared?

std::vector<boost::thread>

but even without push_back() it fails to compile.


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