Skip to content

Commit 5d6a0d2

Browse files
Simplify nothrow* concept - fix
1 parent 800ab7f commit 5d6a0d2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,12 @@ 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-
any operation on an object of type ``std::ranges::iterator_t<R>``
69-
required by the ``std::random_access_iterator`` concept.
67+
A type ``R`` models ``nothrow-random-access-range`` if no exceptions are thrown from:
68+
69+
- any operation on an object of type ``std::ranges::iterator_t<R>``
70+
required by the ``std::random_access_iterator`` concept;
71+
- calls to ``std::ranges::begin()``, ``std::ranges::end()`` and ``std::ranges::size()``
72+
on an object of type ``R``.
7073

7174
Whole Sequence Operations
7275
+++++++++++++++++++++++++

0 commit comments

Comments
 (0)