Skip to content

Commit

Permalink
fix some typo
Browse files Browse the repository at this point in the history
  • Loading branch information
suomesta committed Nov 11, 2023
1 parent 67a300d commit 407947b
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 17 deletions.
3 changes: 1 addition & 2 deletions reference/bit/bit_ceil.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ namespace std {
## 事前条件
- `x`以上となる最小の2の累乗値を`N`として、
- 型`T`において値`N`が表現できること
- `x`以上となる最小の2の累乗値を`N`として、型`T`において値`N`が表現できること
## 戻り値
`N`を返す
Expand Down
2 changes: 1 addition & 1 deletion reference/forward_list/forward_list/remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ size_type remove(const T& value); // (1) C++20
## 計算量
ちょうど`x`の要素数回だけ等値比較を行う
ちょうど`distance(begin(), end())`回だけ等値比較を行う
## 例
Expand Down
2 changes: 1 addition & 1 deletion reference/forward_list/forward_list/remove_if.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ size_type remove_if(Predicate pred); // (1) C++20
## 計算量
ちょうど`x`の要素数回だけ述語を適用する
ちょうど`distance(begin(), end())`回だけ述語を適用する
## 例
Expand Down
2 changes: 1 addition & 1 deletion reference/list/list/remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ size_type remove(const T& value); // (1) C++20
## 計算量
ちょうど`x`の要素数回だけ等値比較を行う
ちょうど`size()`回だけ等値比較を行う
## 例
Expand Down
2 changes: 1 addition & 1 deletion reference/list/list/remove_if.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ size_type remove_if(Predicate pred); // (1) C++20
## 計算量
ちょうど`x`の要素数回だけ述語を適用する
ちょうど`size()`回だけ述語を適用する
## 例
Expand Down
4 changes: 2 additions & 2 deletions reference/source_location/source_location/current.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ void func(source_location a = source_location::current()) {
}
int main() {
f(); // (2)
func(); // (2)
source_location c = source_location::current();
f(c); // (3)
func(c); // (3)
}
```

Expand Down
2 changes: 1 addition & 1 deletion reference/stop_token/stop_token/op_not_equal.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace std {
`stop_token`オブジェクトの非等値比較を行う。
## 戻り値
`!(x == y)`
`!(lhs == rhs)`
## 例外
投げない。
Expand Down
4 changes: 2 additions & 2 deletions reference/system_error/error_category.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ namespace std {
| 名前 | 説明 | 対応バージョン |
|------|------|----------------|
| [`equivalent`](error_category/equivalent.md) | エラーコードとエラー状態の等値比較 | C++11 |
| [`operator==`](error_category/op_equal.md) | 等値比較 (C++20から`operator<=>`により使用可能) | C++11 |
| [`operator!=`](error_category/op_not_equal.md) | 非等値比較 | C++11 |
| [`operator==`](error_category/op_equal.md) | 等値比較 | C++11 |
| [`operator!=`](error_category/op_not_equal.md) | 非等値比較 (C++20から`operator==`により使用可能) | C++11 |
| [`operator<=>`](error_category/op_compare_3way.md) | 三方比較 | C++20 |
| [`operator<`](error_category/op_less.md) | 左辺が右辺より小さいか比較 (C++20から`operator<=>`により使用可能) | C++11 |
| `bool operator<=(const error_category&) const noexcept;` | 左辺が右辺以下か比較 (`operator<=>`により使用可能) | C++20 |
Expand Down
2 changes: 1 addition & 1 deletion reference/system_error/error_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace std {
| 名前 | 説明 | 対応バージョン |
|------|------|----------------|
| [`operator==`](op_equal.md) | 等値比較 | C++11 |
| [`operator!=`](op_not_equal.md) | 非等値比較 (C++20から`operator<=>`により使用可能) | C++11 |
| [`operator!=`](op_not_equal.md) | 非等値比較 (C++20から`operator==`により使用可能) | C++11 |
| [`operator<=>`](error_code/op_compare_3way.md) | 三方比較 | C++20 |
| [`operator<`](error_code/op_less.md) | 左辺が右辺より小さいか判定する (C++20から`operator<=>`により使用可能) | C++11 |
| `bool operator<=(const error_code&, const error_code&) noexcept;` | 左辺が右辺以下か判定する (`operator<=>`により使用可能) | C++20 |
Expand Down
2 changes: 1 addition & 1 deletion reference/system_error/error_condition.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Visual C++ 2010、GCC 4.6.1では[`generic_category()`](generic_category.md)と[
| 名前 | 説明 | 対応バージョン |
|------|------|----------------|
| [`operator==`](op_equal.md) | 等値比較 | C++11 |
| [`operator!=`](op_not_equal.md) | 非等値比較 (C++20から`operator<=>`により使用可能) | C++11 |
| [`operator!=`](op_not_equal.md) | 非等値比較 (C++20から`operator==`により使用可能) | C++11 |
| [`operator<=>`](error_condition/op_compare_3way.md) | 三方比較 | C++20 |
| [`operator<`](error_condition/op_less.md) | 左辺が右辺より小さいか判定する (C++20から`operator<=>`により使用可能) | C++11 |
| `bool operator<=(const error_condition&, const error_condition&) noexcept;` | 左辺が右辺以下か判定する (`operator<=>`により使用可能) | C++20 |
Expand Down
8 changes: 4 additions & 4 deletions reference/thread/thread/id.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ namespace std {
|--------------|------------------------------------|-------|
| `operator==` | 等値比較 | C++11 |
| `operator!=` | 非等値比較 (C++20から`operator==`により使用可能) | C++11 |
| `operator<` | 左辺が右辺より小さいかの判定を行う (C++20から`operator==`により使用可能) | C++11 |
| `operator<=` | 左辺が右辺以下かの判定を行う (C++20から`operator==`により使用可能) | C++11 |
| `operator>` | 左辺が右辺より大きいかの判定を行う (C++20から`operator==`により使用可能) | C++11 |
| `operator>=` | 左辺が右辺以上かの判定を行う (C++20から`operator==`により使用可能) | C++11 |
| `operator<` | 左辺が右辺より小さいかの判定を行う (C++20から`operator<=>`により使用可能) | C++11 |
| `operator<=` | 左辺が右辺以下かの判定を行う (C++20から`operator<=>`により使用可能) | C++11 |
| `operator>` | 左辺が右辺より大きいかの判定を行う (C++20から`operator<=>`により使用可能) | C++11 |
| `operator>=` | 左辺が右辺以上かの判定を行う (C++20から`operator<=>`により使用可能) | C++11 |
| `strong_ordering operator<=>(thread::id x, thread::id y) noexcept;` | 三方比較 | C++20 |
### ストリーム出力
Expand Down

0 comments on commit 407947b

Please sign in to comment.