Skip to content

Commit a76f5ee

Browse files
author
Ivan Kochin
authored
[oneTBB] Add Move semantic requirements to the parallel_sort algorithm (#391)
Signed-off-by: Kochin Ivan <kochin.ivan@intel.com>
1 parent a4cfaeb commit a76f5ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/elements/oneTBB/source/algorithms/functions/parallel_sort_func.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ Function template that sorts a sequence.
3232
Requirements:
3333

3434
* The ``RandomAccessIterator`` type must meet the `Random Access Iterators` requirements from
35-
[random.access.iterators] and `ValueSwappable` 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]
3939
and `Swappable` requirements from the [swappable.requirements] ISO C++ Standard section.
40+
* The type of dereferenced ``RandomAccessIterator`` or dereferenced ``Container`` iterator must meet the MoveAssignable requirements from [moveassignable] section of ISO C++ Standard and the MoveConstructible requirements from [moveconstructible] section of ISO C++ Standard.
4041

4142
Sorts a sequence or a container. The sort is neither stable nor deterministic: relative
4243
ordering of elements with equal keys is not preserved and not guaranteed to repeat if the same

0 commit comments

Comments
 (0)