-
Notifications
You must be signed in to change notification settings - Fork 1k
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
parallel_sort requires lvalue range, thus cannot be used rlavue ranges (which is a common use case in our codebase) #500
Comments
Some clarification.
|
Hello @sf-mc, |
Hello @ivankochin, |
This bug was introduced in commit 4cebdd9.
There was removed
void parallel_sort(const Range& rng, const Compare& comp) {
and
void parallel_sort(const Range& rng) {
Probably it was done by mistake, with intention to instead remove the redundant
void parallel_sort(Range& rng, const Compare& comp) {
and
void parallel_sort(Range& rng) {
The bug is still present in the latest version, see
https://github.com/oneapi-src/oneTBB/blob/master/include/oneapi/tbb/parallel_sort.h#L253
The text was updated successfully, but these errors were encountered: