@@ -33,7 +33,7 @@ namespace std::ranges {
3333
3434## 戻り値
3535```cpp
36- first2 == last2 || !ranges:: search(first1, last1, first2, last2, pred, proj1, proj2).empty()
36+ first2 == last2 || !ranges:: search(first1, last1, first2, last2, pred, proj1, proj2).empty()
3737```
3838
3939## 計算量
@@ -73,20 +73,20 @@ struct contains_subrange_impl {
7373 class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
7474 requires indirectly_comparable<I1, I2, Pred, Proj1, Proj2>
7575 constexpr bool operator()(I1 first1, S1 last1, I2 first2, S2 last2, Pred pred = {}, Proj1 proj1 = {}, Proj2 proj2 = {}) const {
76- return first2 == last2 || !ranges:: search(first1, last1, first2, last2, pred, proj1, proj2).empty();
76+ return first2 == last2 || !ranges:: search(first1, last1, first2, last2, pred, proj1, proj2).empty();
7777 }
7878
7979 template<forward_range R1, forward_range R2,
8080 class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
8181 requires indirectly_comparable<iterator_t<R1 >, iterator_t<R2 >, Pred, Proj1, Proj2>
8282 constexpr bool operator()(R1&& r1, R2&& r2, Pred pred = {}, Proj1 proj1 = {}, Proj2 proj2 = {}) const {
83- return ranges::empty(r2) || !ranges:: search(std::forward(r1), std::forward(r2), pred, proj1, proj2).empty();
83+ return ranges::empty(r2) || !ranges:: search(std::forward(r1), std::forward(r2), pred, proj1, proj2).empty();
8484 }
8585};
8686
8787inline constexpr contains_subrange_impl contains_subrange;
8888```
89- * ranges:: search[link ranges_search .md]
89+ * ranges:: search[link ranges_search .md]
9090* ranges::empty[link /reference/ranges/empty.md]
9191
9292## バージョン
0 commit comments