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>
requires(C c, B b, O o) {
*o = c(*b);
}
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
CCallable type.
BInput iterator type.
OOutput 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);