Skip to content

Commit

Permalink
LegacyRandomAccessIterator -> random access iterator
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Hoeflinger <dan.hoeflinger@intel.com>
  • Loading branch information
danhoeflinger committed Aug 16, 2024
1 parent 94ce104 commit c2cca29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/elements/oneDPL/source/parallel_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Let us define a named requirement, :code:`ValidParallelIteratorSource`, to descr
types that can be used as source for oneDPL's iterators as described below.
The type :code:`Iter` satisfies the :code:`ValidParallelIteratorSource` named requirement if it satisfies
at least one of the following:
* :code:`Iter` satisfies the C++ named requirement :code:`LegacyRandomAccessIterator`
* :code:`Iter` is a random access iterator
* :code:`Iter` is the unspecified iterator-like type returned by :code:`oneapi::dpl::begin` or :code:`oneapi::dpl::end`
* :code:`Iter` is a valid :code:`permutation_iterator`
* :code:`Iter` is a valid :code:`transform_iterator`
Expand Down Expand Up @@ -407,7 +407,7 @@ iterator instances to determine their position in the index map. :code:`SourceIt
:code:`ValidParallelIteratorSource`.

The type :code:`IndexMap` must satisfy at least one of the following:
* :code:`IndexMap` satisfies the C++ named requirement :code:`LegacyRandomAccessIterator`
* :code:`IndexMap` is a random access iterator
* :code:`IndexMap` is the unspecified iterator-like type returned by :code:`oneapi::dpl::begin` or :code:`oneapi::dpl::end`
* :code:`IndexMap` is a valid :code:`permutation_iterator`
* :code:`IndexMap` is a valid :code:`transform_iterator`
Expand Down

0 comments on commit c2cca29

Please sign in to comment.