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

Non-Standard Conforming Parallel Algorithms #6536

Open
3 tasks
zhekemist opened this issue Aug 25, 2024 · 0 comments
Open
3 tasks

Non-Standard Conforming Parallel Algorithms #6536

zhekemist opened this issue Aug 25, 2024 · 0 comments

Comments

@zhekemist
Copy link
Contributor

The following HPX algorithms deviate from the C++ standard:

  • hpx::generate: The HPX algorithm returns a past-the-end iterator, while the standard specifies that the return type should be void. (See in the standard draft.)
  • hpx::search: The overload that takes a range and a searcher is missing. (However, this is probably not very critical, as there is no parallel version of this algorithm anyway.) (See in the standard draft.)
  • hpx::search_n: HPX's search_n is effectively equivalent to search(first, std::next(first, n), s_first, s_last), but according to the standard, search_n should find a contiguous sequence of n identical elements equal to a given value. (See in the standard draft.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants