Skip to content

Commit 018bcd8

Browse files
committed
不可視文字を削除
1 parent c5f8bd4 commit 018bcd8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

reference/algorithm/ranges_contains.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ namespace ranges {
2727
2828
## 戻り値
2929
```cpp
30-
ranges​::​find(std​::​move(first), last, value, proj) != last
30+
ranges::find(std::move(first), last, value, proj) != last
3131
```
32-
* ranges​::​find[link ranges_find.md]
32+
* ranges::find[link ranges_find.md]
3333

3434
## 計算量
3535
最大で `last - first` 回比較を行う
@@ -64,19 +64,19 @@ struct contains_impl {
6464
template<input_iterator I, sentinel_for<I> S, class T, class Proj = identity>
6565
requires indirect_binary_predicate<ranges::equal_to, projected<I, Proj>, const T*>
6666
constexpr bool operator()(I first, S last, const T& value, Proj proj = {}) const {
67-
return ranges​::​find(std​::​move(first), last, value, proj) != last;
67+
return ranges::find(std::move(first), last, value, proj) != last;
6868
}
6969

7070
template<input_range R, class T, class Proj = identity>
7171
requires indirect_binary_predicate<ranges::equal_to, projected<iterator_t<R>, Proj>, const T*>
7272
constexpr bool operator()(R&& r, const T& value, Proj proj = {}) const {
73-
return ranges​::​find(std::forward(r), value, proj) != last;
73+
return ranges::find(std::forward(r), value, proj) != last;
7474
}
7575
};
7676

7777
inline constexpr contains_impl contains;
7878
```
79-
* ranges​::​find[link ranges_find.md]
79+
* ranges::find[link ranges_find.md]
8080
8181
## バージョン
8282
### 言語

reference/algorithm/ranges_contains_subrange.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

8787
inline 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

Comments
 (0)