From 8f2074eda7ecae1f9bea244a75b8fc15bae8609f Mon Sep 17 00:00:00 2001 From: Dan Hoeflinger Date: Mon, 6 Jan 2025 11:10:08 -0500 Subject: [PATCH] fixing zip iterator specification for tuple type Signed-off-by: Dan Hoeflinger --- .../oneDPL/source/parallel_api/iterators.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/elements/oneDPL/source/parallel_api/iterators.rst b/source/elements/oneDPL/source/parallel_api/iterators.rst index fdfc81e9a..c443680da 100644 --- a/source/elements/oneDPL/source/parallel_api/iterators.rst +++ b/source/elements/oneDPL/source/parallel_api/iterators.rst @@ -250,13 +250,12 @@ using the source iterator and unary function object provided. { public: using difference_type = typename std::make_signed::type; - using value_type = - std::tuple::value_type...>; + using value_type = /* unspecified tuple of value types */; using reference = /* unspecified tuple of reference types */; using pointer = std::tuple::pointer...>; - std::tuple base() const; + /* returns unspecified tuple of source Iterators */ base() const; zip_iterator(); explicit zip_iterator(Iterators... args); @@ -287,11 +286,12 @@ using the source iterator and unary function object provided. }; ``zip_iterator`` is an iterator-like type defined over one or more iterators. When dereferenced, -the value returned from ``zip_iterator`` is a tuple of the values returned by dereferencing the +the value returned from ``zip_iterator`` is an unspecified tuple type of the values returned by dereferencing the source iterators over which the ``zip_iterator`` is defined. The arithmetic operators of ``zip_iterator`` update the source iterators of a ``zip_iterator`` instance as though the -operation were applied to each of these iterators. The types ``T`` within the template pack -``Iterators...`` must satisfy ``AdaptingIteratorSource``. +operation were applied to each of these iterators. The types ``T`` within the template pack +``Iterators...`` must satisfy ``AdaptingIteratorSource``. Member function `base()` returns an unspecified tuple of +the source iterators. .. code:: cpp