|
1132 | 1132 | search(ForwardIterator first, ForwardIterator last, const Searcher& searcher);
|
1133 | 1133 |
|
1134 | 1134 | namespace ranges {
|
1135 |
| - // \ref{alg.starts.with}, starts_with |
| 1135 | + // \ref{alg.starts.with}, starts with |
1136 | 1136 | template<@\libconcept{input_iterator}@ I1, @\libconcept{sentinel_for}@<I1> S1, @\libconcept{input_iterator}@ I2, @\libconcept{sentinel_for}@<I2> S2,
|
1137 | 1137 | class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
|
1138 |
| - requires indirectly_comparable<I1, I2, Pred, Proj1, Proj2> |
| 1138 | + requires @\libconcept{indirectly_comparable}@<I1, I2, Pred, Proj1, Proj2> |
1139 | 1139 | constexpr bool starts_with(I1 first1, S1 last1, I2 first2, S2 last2, Pred pred = {},
|
1140 | 1140 | Proj1 proj1 = {}, Proj2 proj2 = {});
|
1141 | 1141 | template<@\libconcept{input_range}@ R1, @\libconcept{input_range}@ R2, class Pred = ranges::equal_to,
|
|
1144 | 1144 | constexpr bool starts_with(R1&& r1, R2&& r2, Pred pred = {},
|
1145 | 1145 | Proj1 proj1 = {}, Proj2 proj2 = {});
|
1146 | 1146 |
|
1147 |
| - // \ref{alg.ends.with}, ends_with |
| 1147 | + // \ref{alg.ends.with}, ends with |
1148 | 1148 | template<@\libconcept{input_iterator}@ I1, @\libconcept{sentinel_for}@<I1> S1, @\libconcept{input_iterator}@ I2, @\libconcept{sentinel_for}@<I2> S2,
|
1149 | 1149 | class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
|
1150 | 1150 | requires (@\libconcept{forward_iterator}@<I1> || @\libconcept{sized_sentinel_for}@<S1, I1>) &&
|
|
0 commit comments