mrdocs::ThreadPool::forEach
Invoke a function object for each element of a range.
Synopsis
template<
class Range,
class F>
[[nodiscard]]
std::vector<Error>
forEach(
Range&& range,
F const& f);
Return Value
Zero or more errors which were thrown from submitted work.
|
The return value should not be discarded. |
Parameters
Name |
Description |
range |
The range of elements to process. |
f |
The function object to invoke. |
Created with MrDocs