| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/slacy/taskflow/master/examples/switch_case.cpp | [Back] [Original] |
// This program demonstrates how to implement switch-case control flow
// using condition tasks.
#include
int main() {
tf::Executor executor;
tf::Taskflow taskflow;
auto [source, swcond, case1, case2, case3, target] = taskflow.emplace(
[](){ std::cout
| Web Proxy Viewer | New URL | Original Page |