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

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

concept to check if a unary operation is valid More...

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

## Concept definition

template<typename C, typename B>
concept tf::UnaryOperationLike =
requires(C c, B b) {
c(*b);
}
tf::UnaryOperationLike
concept to check if a unary operation is valid
Definition flow_builder.hpp:32

## Detailed Description

concept to check if a unary operation is valid

Template Parameters

  C | Callable type.
  B | Input iterator-like type.

Satisfied by a callable that can be invoked with the value obtained from dereferencing an input-like iterator. Specifically, the following expression must be valid:

c(*b);