Skip to content

Commit

Permalink
Add more backquotes
Browse files Browse the repository at this point in the history
  • Loading branch information
akukanov committed Aug 18, 2024
1 parent a6dab8f commit a8fa3ce
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/elements/oneDPL/source/parallel_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,9 @@ true, otherwise it is set to false.
If no comparator is provided, ``operator<`` is used to determine when the search value is less
than an element in the range being searched.

The elements e of [start, end) must be partitioned with respect to the comparator used. For all
elements e in [start, end) and a given search value v in [value_first, value_last) comp(e, v) implies !comp(v, e).
The elements of ``[start, end)`` must be partitioned with respect to the comparator used. For all
elements ``e`` in ``[start, end)`` and a given search value ``v`` in ``[value_first, value_last)``,
``comp(e, v)`` implies ``!comp(v, e)``.

.. code:: cpp
Expand All @@ -494,7 +495,7 @@ provided. That lowest index is then assigned to the corresponding element in
If no comparator is provided, ``operator<`` is used to determine when the search value is less
than an element in the range being searched.

The elements e of [start, end) must be partitioned with respect to the comparator used.
The elements of ``[start, end)`` must be partitioned with respect to the comparator used.

.. code:: cpp
Expand All @@ -516,7 +517,7 @@ comparator provided. That highest index is then assigned to the corresponding el
If no comparator is provided, ``operator<`` is used to determine when the search value is less
than an element in the range being searched.

The elements e of [start, end) must be partitioned with respect to the comparator used.
The elements of ``[start, end)`` must be partitioned with respect to the comparator used.

.. _`C++ Standard`: https://isocpp.org/std/the-standard
.. _`SYCL`: https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html

0 comments on commit a8fa3ce

Please sign in to comment.