Open IgorStauder opened 5 years ago
bug in README.md when_all_ready() example:
task<> example2() { ... // Unpack and handle each result individually once they're all complete. for (int i = 0; i < 1000; ++i) { try { >>> std::string& record = tasks[i].result(); should be std::string& record = resultTasks[i].result(); ... }
bug in README.md when_all_ready() example:
task<> example2() { ... // Unpack and handle each result individually once they're all complete. for (int i = 0; i < 1000; ++i) { try { >>> std::string& record = tasks[i].result(); should be std::string& record = resultTasks[i].result(); ... }