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

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

determines if a callable is a condition task More...

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

## Concept definition

template<typename C>
concept tf::ConditionTask = std::invocable<C> &&
std::convertible_to<std::invoke_result_t<C>, int>
tf::ConditionTask
determines if a callable is a condition task
Definition task.hpp:168

## Detailed Description

determines if a callable is a condition task

A condition task is a callable object constructible from std::function<int()>.