| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/ModuleWorks/taskflow/master/examples/while_loop.cpp | [Back] [Original] |
// This program demonstrates how to implement while-loop control flow
// using condition tasks.
#include
int main() {
tf::Executor executor;
tf::Taskflow taskflow;
int i;
auto [init, cond, body, back, done] = taskflow.emplace(
[&](){ std::cout
| Web Proxy Viewer | New URL | Original Page |