Skip to content

Commit

Permalink
Fixed a bullet list in the iterators topic. (#1619)
Browse files Browse the repository at this point in the history
Signed-off-by: Benito, Dylan <[email protected]>
  • Loading branch information
dcbenito authored Jun 7, 2024
1 parent db27918 commit acef1ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions documentation/library_guide/parallel_api/iterators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ header. All iterators are implemented in the ``oneapi::dpl`` namespace.
The ``transform_iterator`` class provides the following constructors:

* ``transform_iterator()``: instantiates the iterator using a default constructed base iterator and unary functor.
This constructor participates in overload resolution only if the base iterator and unary functor are both default constructible.
This constructor participates in overload resolution only if the base iterator and unary functor are both default constructible.

* ``transform_iterator(iter)``: instantiates the iterator using the base iterator provided and a default constructed
unary functor. This constructor participates in overload resolution only if the unary functor is default constructible.
unary functor. This constructor participates in overload resolution only if the unary functor is default constructible.

* ``transform_iterator(iter, func)``: instantiates the iterator using the base iterator and unary functor provided.

To simplify the construction of the iterator, ``oneapi::dpl::make_transform_iterator`` is provided. The
Expand Down

0 comments on commit acef1ad

Please sign in to comment.