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

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

concept to check if a type is a task parameter 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:217
tf::TaskParams
class to create a task parameter object
Definition graph.hpp:197
tf::StringLike
concept to check if a type is convertible to std::string_view
Definition graph.hpp:188
tf::TaskParamsLike
concept to check if a type is a task parameter
Definition graph.hpp:228

## Detailed Description

concept to check if a type is a task parameter

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

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