Skip to content

Commit 3dcc932

Browse files
committed
[algorithm.syn] Fixed transcription errors in various types
1 parent a8d02a9 commit 3dcc932

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

source/algorithms.tex

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@
16171617
search_n(Ep&& exec, I first, S last, iter_difference_t<I> count,
16181618
const T& value, Pred pred = {}, Proj proj = {}); // freestanding-deleted
16191619
template<@\exposconcept{execution-policy}@ Ep, @\exposconcept{sized-random-access-range}@ R, class Pred = ranges::equal_to,
1620-
class Proj = identity, class T = projected_value_t<I, Proj>>
1620+
class Proj = identity, class T = projected_value_t<iterator_t<R>, Proj>>
16211621
requires @\libconcept{indirectly_comparable}@<iterator_t<R>, const T*, Pred, Proj>
16221622
borrowed_subrange_t<R>
16231623
search_n(Ep&& exec, R&& r, range_difference_t<R> count,
@@ -2141,7 +2141,7 @@
21412141
I replace_if(Ep&& exec, I first, S last, Pred pred,
21422142
const T& new_value, Proj proj = {}); // freestanding-deleted
21432143
template<@\exposconcept{execution-policy}@ Ep, @\exposconcept{sized-random-access-range}@ R, class Proj = identity,
2144-
class T = projected_value_t<I, Proj>,
2144+
class T = projected_value_t<iterator_t<R>, Proj>,
21452145
@\libconcept{indirect_unary_predicate}@<projected<iterator_t<R>, Proj>> Pred>
21462146
requires @\libconcept{indirectly_writable}@<iterator_t<R>, const T&>
21472147
borrowed_iterator_t<R>
@@ -2241,7 +2241,7 @@
22412241
class T = range_value_t<OutR>, class Proj = identity,
22422242
@\libconcept{indirect_unary_predicate}@<projected<iterator_t<R>, Proj>> Pred>
22432243
requires @\libconcept{indirectly_copyable}@<iterator_t<R>, iterator_t<OutR>> &&
2244-
@\libconcept{indirectly_writable}@<OutR, const T&>
2244+
@\libconcept{indirectly_writable}@<iterator_t<OutR>, const T&>
22452245
replace_copy_if_result<borrowed_iterator_t<R>, borrowed_iterator_t<OutR>>
22462246
replace_copy_if(Ep&& exec, R&& r, OutR&& result_r, Pred pred, const T& new_value,
22472247
Proj proj = {}); // freestanding-deleted
@@ -3655,7 +3655,7 @@
36553655
@\libconcept{random_access_iterator}@ O, @\libconcept{sized_sentinel_for}@<O> OutS, class Comp = ranges::less,
36563656
class Proj1 = identity, class Proj2 = identity>
36573657
requires @\libconcept{mergeable}@<I1, I2, O, Comp, Proj1, Proj2>
3658-
set_difference_result<I1, I2, O>
3658+
set_difference_result<I1, O>
36593659
set_difference(Ep&& exec, I1 first1, S1 last1, I2 first2, S2 last2,
36603660
O result, OutS result_last, Comp comp = {}, Proj1 proj1 = {},
36613661
Proj2 proj2 = {}); // freestanding-deleted
@@ -3664,8 +3664,7 @@
36643664
class Proj1 = identity, class Proj2 = identity>
36653665
requires @\libconcept{mergeable}@<iterator_t<R1>, iterator_t<R2>, iterator_t<OutR>,
36663666
Comp, Proj1, Proj2>
3667-
set_difference_result<borrowed_iterator_t<R1>, borrowed_iterator_t<R2>,
3668-
borrowed_iterator_t<OutR>>
3667+
set_difference_result<borrowed_iterator_t<R1>, borrowed_iterator_t<OutR>>
36693668
set_difference(Ep&& exec, R1&& r1, R2&& r2, OutR&& result_r, Comp comp = {},
36703669
Proj1 proj1 = {}, Proj2 proj2 = {}); // freestanding-deleted
36713670
}

0 commit comments

Comments
 (0)