我正在尝试创建多个线程来处理单击任务。现在的Visual Studio 2015年不显示语法错误,但是在编译我的错误错误C3867多线程C++
C3867 'action::Chrome::click': non-standard syntax; use '&' to create a pointer to member
int main()
{
std::unique_ptr<action::Chrome>chrome(new action::Chrome());
const std::vector<uint_16>xLocation = { 1155, 1165, 1205, 1245, 1285 };
std::vector<uint_16>yLocation;
//Fill yLocation
//Yada yada, other code
std::thread task[6];
for(uint_8 i = 0; i < 6; i++)task[i] = std::thread((chrome->click, xLocation, yLocation[i]));
for(uint_8 i = 0; i < 6; i++)task[i].join();
}
能否请您发布的'行动的声明::铬:: click'? – HelloWorld