tf::Graph class

class to create a graph object

A graph is the ultimate storage for a task dependency graph and is the main gateway to interact with an executor. This class is mainly used for creating an opaque graph object in a custom class to interact with the executor through taskflow composition.

A graph object is move-only.

Constructors, destructors, conversion operators

Graph() defaulted
constructs a graph object
Graph(const Graph&) deleted
disabled copy constructor
Graph(Graph&&) defaulted
constructs a graph using move semantics

Public functions

auto operator=(const Graph&) -> Graph& deleted
disabled copy assignment operator
auto operator=(Graph&&) -> Graph& defaulted
assigns a graph using move semantics