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

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

determines if a type owns or is a graph More...

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

## Concept definition

template<typename T>
concept tf::HasGraph = GraphOwner<T> || std::derived_from<T, Graph>
tf::GraphOwner
determines if a type provides a graph via a graph() method
Definition graph.hpp:956
tf::HasGraph
determines if a type owns or is a graph
Definition graph.hpp:967

## Detailed Description

determines if a type owns or is a graph

A type satisfies tf::HasGraph if it either satisfies tf::GraphOwner (has a `graph()` method) or is derived from tf::Graph.