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

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

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

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

## Concept definition

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

## Detailed Description

concept to check if a unary transformation operation is valid

Template Parameters

  C | Callable type.
  B | Input iterator type.
  O | Output iterator type.

Satisfied by a callable that accepts the value referenced by an input iterator and produces a result assignable through an output iterator. Specifically, the following expression must be valid:

*o = c(*b);