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

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

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

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

## Concept definition

template<typename C, typename B1, typename B2>
concept tf::BinaryOperationLike =
requires(C c, B1 b1, B2 b2) {
c(*b1, *b2);
}
tf::BinaryOperationLike
concept to check if a binary operation is valid
Definition flow_builder.hpp:53

## Detailed Description

concept to check if a binary operation is valid

Template Parameters

  C | Callable type.
  B1 | First input iterator-like type.
  B2 | Second input iterator-like type.

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

c(*b1, *b2);