Skip to content

Commit 01087a3

Browse files
Simplify nothrow* concept
1 parent 4e0f1e7 commit 01087a3

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
@@ -59,16 +59,9 @@ of parallel range algorithms.
5959
std::same_as<std::remove_cvref_t<std::iter_reference_t<std::ranges::iterator_t<R>>>,
6060
std::iter_value_t<std::ranges::iterator_t<R>>>;
6161
62-
A type ``R`` models ``nothrow-random-access-range`` if no exceptions are thrown from:
63-
64-
- increment, decrement, copy construction, move construction, copy assignment, move assignment,
65-
comparisons or indirection through valid iterators of type ``std::ranges::iterator_t<R>``;
66-
- ``-`` operator, copy construction, move construction, copy assignment, move assignment,
67-
or comparisons between valid values of type ``std::ranges::iterator_t<R>``;
68-
- ``-``, ``+``, ``-=``, ``+=``, ``[]`` operators on valid values of type
69-
``std::ranges::iterator_t<R>`` and ``std::iter_difference_t<std::ranges::iterator_t<R>>``;
70-
- calls to ``std::ranges::begin()``, ``std::ranges::end()`` and ``std::ranges::size()``
71-
on an object of type ``R``.
62+
A type ``R`` models ``nothrow-random-access-range`` if no exceptions are thrown from
63+
any operation on an object of type ``std::ranges::iterator_t<R>``
64+
required by the ``std::random_access_iterator`` concept.
7265

7366
Whole Sequence Operations
7467
+++++++++++++++++++++++++

0 commit comments

Comments
 (0)