Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loop: add Sentinel iterator support to parallel_for_each() #2475

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 6, 2024

  1. loop: add Sentinel iterator 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 two iterators denoting a range to `parallel_for_each()`.
    see also b1b0bff.
    
    Signed-off-by: Kefu Chai <[email protected]>
    tchaikov committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    b491455 View commit details
    Browse the repository at this point in the history