book: translation of ch07

Update #12
This commit is contained in:
Changkun Ou
2019-07-19 17:31:54 +02:00
parent e2c68a3a48
commit 84813a0317
5 changed files with 548 additions and 17 deletions

View File

@@ -9,13 +9,7 @@
#include <iostream>
#include <thread>
#include <iostream>
#include <future>
#include <thread>
void foo() {
}
int main() {
// pack a lambda expression that returns 7 into a std::packaged_task