GitHub Viewer
// A simple example to capture the following task dependencies.
//
// +---+
// +---->| B |-----+
// | +---+ |
// +---+ +-v-+
// | A | | D |
// +---+ +-^-+
// | +---+ |
// +---->| C |-----+
// +---+
//
#include // the only include you need
int main(){
tf::Executor executor;
tf::Taskflow taskflow("simple");
auto [A, B, C, D] = taskflow.emplace(
[]() { std::cout