我正在尝试使用QtConcurrent::mapped,但我无法使其工作。::mapped(Chains, GetChainInfo);
} 我得到以下编译错误: QtConcurrent/qtconcurrentmapkernel.h(162): error C2039:<Sequence,QtConcurrent::MappedEachKernel<QList<Chain *>::const_iterator,Functor>,Functor>' being co
当向QtConcurrent::run()传递一个带有6个或更多参数的函数时,我得到了一个编译错误。当我将它们减少到5个参数时,我不再得到这个错误。这段虚拟代码为我重现了错误:{
error: no matching function for call to 'run(void (&)(int, int, int, int