forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loop: add range support to parallel_for_each()
before this change, we only support containers, whose `begin()` and `end()` are of the same type, but ranges do not have this requirement. in order to support range views, let's relax this requirement. so that, we can pass, for instance, `std::views::iota(1, 10)` to `parallel_for_each()`. see also b1b0bff. Signed-off-by: Kefu Chai <[email protected]>
- Loading branch information
Showing
1 changed file
with
28 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters