Skip to content

Commit ee35282

Browse files
Simplify nothrow* concept - fix
1 parent 01087a3 commit ee35282

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
@@ -59,9 +59,12 @@ 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-
any operation on an object of type ``std::ranges::iterator_t<R>``
64-
required by the ``std::random_access_iterator`` concept.
62+
A type ``R`` models ``nothrow-random-access-range`` if no exceptions are thrown from:
63+
64+
- any operation on an object of type ``std::ranges::iterator_t<R>``
65+
required by the ``std::random_access_iterator`` concept;
66+
- calls to ``std::ranges::begin()``, ``std::ranges::end()`` and ``std::ranges::size()``
67+
on an object of type ``R``.
6568

6669
Whole Sequence Operations
6770
+++++++++++++++++++++++++

0 commit comments

Comments
 (0)