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

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

concept that determines if a type is a task parameter type More...

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

## Concept definition

template<typename P>
concept tf::TaskParamsLike =
std::same_as<std::decay_t<P>, TaskParams> ||
std::same_as<std::decay_t<P>, DefaultTaskParams> ||
StringLike<P>
tf::StringLike
concept that determines if a type is string-like
Definition graph.hpp:162
tf::TaskParamsLike
concept that determines if a type is a task parameter type
Definition graph.hpp:202

## Detailed Description

concept that determines if a type is a task parameter type

A type satisfies tf::TaskParams if it is one of the following:

- tf::TaskParams
- tf::DefaultTaskParams
- tf::StringLike