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

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

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

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

## Concept definition

template<typename P>
concept tf::TaskParamsConcept =
std::same_as<std::decay_t<P>, TaskParams> ||
std::same_as<std::decay_t<P>, DefaultTaskParams> ||
std::constructible_from<std::string, P>
tf::DefaultTaskParams
class to create an empty task parameter for compile-time optimization
Definition graph.hpp:166
tf::TaskParams
class to create a task parameter object
Definition graph.hpp:146
tf::TaskParamsConcept
determines if a type is a task parameter type
Definition graph.hpp:177

## Detailed Description

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
- any type constructible from std::string