Skip to content

Commit 338e6b4

Browse files
committed
[set.intersection] Fixed transcription errors in return types.
Declaration error corresponds to 3dcc932. The errors in the Returns: follow.
1 parent 7b25ed6 commit 338e6b4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

source/algorithms.tex

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10664,7 +10664,7 @@
1066410664
@\libconcept{random_access_iterator}@ O, @\libconcept{sized_sentinel_for}@<O> OutS, class Comp = ranges::less,
1066510665
class Proj1 = identity, class Proj2 = identity>
1066610666
requires @\libconcept{mergeable}@<I1, I2, O, Comp, Proj1, Proj2>
10667-
ranges::set_difference_result<I1, I2, O>
10667+
ranges::set_difference_result<I1, O>
1066810668
ranges::set_difference(Ep&& exec, I1 first1, S1 last1,
1066910669
I2 first2, S2 last2, O result, OutS result_last,
1067010670
Comp comp = {}, Proj1 proj1 = {}, Proj2 proj2 = {});
@@ -10673,8 +10673,7 @@
1067310673
class Proj1 = identity, class Proj2 = identity>
1067410674
requires @\libconcept{mergeable}@<iterator_t<R1>, iterator_t<R2>, iterator_t<OutR>,
1067510675
Comp, Proj1, Proj2>
10676-
ranges::set_difference_result<borrowed_iterator_t<R1>, borrowed_iterator_t<R2>,
10677-
borrowed_iterator_t<OutR>>
10676+
ranges::set_difference_result<borrowed_iterator_t<R1>, borrowed_iterator_t<OutR>>
1067810677
ranges::set_difference(Ep&& exec, R1&& r1, R2&& r2, OutR&& result_r, Comp comp = {},
1067910678
Proj1 proj1 = {}, Proj2 proj2 = {});
1068010679
\end{itemdecl}
@@ -10717,14 +10716,14 @@
1071710716
\tcode{result_last}
1071810717
for the overloads in namespace \tcode{std}.
1071910718
\item
10720-
\tcode{\{last1, last2, result + $N$\}}
10719+
\tcode{\{last1, result + $N$\}}
1072110720
for the overloads in namespace \tcode{ranges},
1072210721
if $N$ is equal to $M$.
1072310722
\item
10724-
Otherwise, \tcode{\{j1, j2, result_last\}}
10723+
Otherwise, \tcode{\{j1, result_last\}}
1072510724
for the overloads in namespace \tcode{ranges},
10726-
where the iterators \tcode{j1} and \tcode{j2}
10727-
point to positions past the last copied or skipped elements
10725+
where the iterator \tcode{j1}
10726+
points to positions past the last copied or skipped elements
1072810727
in \range{first1}{last1} and \range{first2}{last2}, respectively.
1072910728
\end{itemize}
1073010729

0 commit comments

Comments
 (0)