| Taskflow: A General-purpose Task-parallel Programming System

Loading...
Searching...
No Matches
tf::GraphOwner Concept Reference

determines if a type provides a graph via a `graph()` method More...

`#include <taskflow/core/graph.hpp>`

## Concept definition

template<typename T>
concept tf::GraphOwner = requires(T& t) {
{ t.graph() } -> std::convertible_to<Graph&>;
}
tf::GraphOwner
determines if a type provides a graph via a graph() method
Definition graph.hpp:956

## Detailed Description

determines if a type provides a graph via a `graph()` method

A type satisfies tf::GraphOwner if it has a `graph()` method returning a reference convertible to `tf::Graph&`.