Skip to content

Commit 800ab7f

Browse files
Simplify nothrow* concept
1 parent f53b558 commit 800ab7f

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

source/elements/oneDPL/source/parallel_api/parallel_range_api.rst

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,9 @@ of parallel range algorithms.
6464
std::same_as<std::remove_cvref_t<std::iter_reference_t<std::ranges::iterator_t<R>>>,
6565
std::iter_value_t<std::ranges::iterator_t<R>>>;
6666
67-
A type ``R`` models ``nothrow-random-access-range`` if no exceptions are thrown from:
68-
69-
- increment, decrement, copy construction, move construction, copy assignment, move assignment,
70-
comparisons or indirection through valid iterators of type ``std::ranges::iterator_t<R>``;
71-
- ``-`` operator, copy construction, move construction, copy assignment, move assignment,
72-
or comparisons between valid values of type ``std::ranges::iterator_t<R>``;
73-
- ``-``, ``+``, ``-=``, ``+=``, ``[]`` operators on valid values of type
74-
``std::ranges::iterator_t<R>`` and ``std::iter_difference_t<std::ranges::iterator_t<R>>``;
75-
- calls to ``std::ranges::begin()``, ``std::ranges::end()`` and ``std::ranges::size()``
76-
on an object of type ``R``.
67+
A type ``R`` models ``nothrow-random-access-range`` if no exceptions are thrown from
68+
any operation on an object of type ``std::ranges::iterator_t<R>``
69+
required by the ``std::random_access_iterator`` concept.
7770

7871
Whole Sequence Operations
7972
+++++++++++++++++++++++++

0 commit comments

Comments
 (0)