On Wednesday 13 May 2015 16:22:25 Richard Öhlinger wrote:
>          QStringList data;
>          QString res = QtConcurrent::blockingFilteredReduced(data, 
> [](const QString&) {return true;}, [](QString& result, const QString& s) 
> -> void {result = s;});

Some QtConcurrent overloads have a design flaw. You need to specify the 
argument one template parameter containing the type of the reduction.

        QString res = QtConcurrent::blockingFilteredReduced<QString>(...);

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to