Apply Fn to each element of R in parallel and join any returned Errors.

Synopsis

Declared in <llvm/Support/Parallel.h>

template<
    class RangeTy,
    class FuncTy>
Error
parallelForEachError(
    RangeTy&& R,
    FuncTy Fn);

Return Value

Success, or the joined Error from all failing invocations of Fn.

Parameters

Name

Description

R

Range whose elements are visited.

Fn

Callable that returns an Error for each element.

Created with MrDocs