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

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

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::DefaultTaskParams
class to create an empty task parameter for compile-time optimization
Definition graph.hpp:191
tf::TaskParams
class to create a task parameter object
Definition graph.hpp:171
tf::StringLike
concept that determines if a type is string-like
Definition graph.hpp:162
tf::TaskParamsLike
determines if a type is a task parameter type
Definition graph.hpp:202

## 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
- tf::StringLike