File tree Expand file tree Collapse file tree
source/elements/oneTBB/source/algorithms/functions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,17 +22,17 @@ Function template that sorts a sequence.
2222 void parallel_sort( RandomAccessIterator begin, RandomAccessIterator end, const Compare& comp );
2323
2424 template<typename Container>
25- void parallel_sort( Container& c );
25+ void parallel_sort( Container&& c );
2626 template<typename Container>
27- void parallel_sort( Container& c, const Compare& comp );
27+ void parallel_sort( Container&& c, const Compare& comp );
2828
2929 } // namespace tbb
3030 } // namespace oneapi
3131
3232 Requirements:
3333
3434* The ``RandomAccessIterator `` type must meet the `Random Access Iterators ` requirements from
35- [random.access.iterators] and `Swappable ` requirements from the [swappable.requirements] ISO C++ Standard section.
35+ [random.access.iterators] and `ValueSwappable ` requirements from the [swappable.requirements] ISO C++ Standard section.
3636* The ``Compare `` type must meet the `Compare ` type requirements from the [alg.sorting] ISO C++ Standard section.
3737* The ``Container `` type must meet the :doc: `ContainerBasedSequence requirements <../../named_requirements/algorithms/container_based_sequence >`
3838 which iterators must meet the `Random Access Iterators ` requirements from [random.access.iterators]
You can’t perform that action at this time.
0 commit comments