Closed CenJieTeng closed 4 years ago
for (int i = 0; i >= 0; --i) co_defer [&] {cout << "defer 0" << endl; }; int i = 1; while (i--) co_defer [&] {cout << "defer 0" << endl; }; co_defer [&] {cout << "defer 0" << endl; };
在循环里和不在循环里 运行结果不一致
在循环里和不在循环里 运行结果不一致