Witam, przy próbie wykoania takiego zabiegu:
auto request = std::async(std::launch::async,&SoftwareManagement::isUpdateAvaible,this,url,responseMessage);
Przy czym metoda wygląda tak:
bool SoftwareManagement::isUpdateAvaible(QUrl &&url, QJsonObject &&response)
Podczas budowania dostaję następujący
error: no matching function for call to 'async(std::launch, bool (SoftwareManagement::*)(QUrl&&, QJsonObject&&), SoftwareManagement*, QUrl&, QJsonObject&)'
auto request = std::async(std::launch::async,&SoftwareManagement::isUpdateAvaible,this,url,responseMessage);
C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/future:1703:5: note: candidate: template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(std::launch, _Fn&&, _Args&& ...)
async(launch __policy, _Fn&& __fn, _Args&&... __args)
Nie mogę jakoś albo wyczuć, albo zrozumieć jak tego używać. Potrzebna pomoc.