[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/lw000/cpp-taskflow/master/examples/simple.cpp [Back]  [Original]

// A simple example to capture the following task dependencies.
//
// TaskA---->TaskB---->TaskD
// TaskA---->TaskC---->TaskD

#include   // the only include you need

int main(){

  tf::Executor executor;
  tf::Taskflow taskflow;

  auto A = taskflow.emplace([]() { std::cout 

Web Proxy Viewer  |  New URL  |  Original Page