[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/728443778/cpp-taskflow/dev/example/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::Taskflow tf(std::thread::hardware_concurrency());

  auto [A, B, C, D] = tf.silent_emplace(   //  the taskflow graph
    [] () { std::cout 

Web Proxy Viewer  |  New URL  |  Original Page