Skip to content

Commit 66b0019

Browse files
committed
対応しない丸カッコを修正
1 parent b3855d8 commit 66b0019

30 files changed

+31
-31
lines changed

reference/algorithm/ranges_find_end.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace std::ranges {
4646
4747
4848
## 戻り値
49-
- (1): `[first1,last1 - (last2 - first2))` 内のイテレータ `i` があるとき、0 以上 `last2 - first2` 未満の全ての整数 `n` について、それぞれ `*(i + n) == *(first2 + n)` もしくは `invoke(pred, invoke(proj1, *(i + n)), invoke(proj2, *(first2 + n)))) != false` であるようなサブシーケンスを探し、見つかった **最後の** サブシーケンス`{i, i + (i == last1 ? 0 : last2 - first2)}`を返す。そのようなイテレータが見つからない、もしくは `[first2,last2)` が空である場合は `{last1, last1}` を返す。
49+
- (1): `[first1,last1 - (last2 - first2))` 内のイテレータ `i` があるとき、0 以上 `last2 - first2` 未満の全ての整数 `n` について、それぞれ `*(i + n) == *(first2 + n)` もしくは `invoke(pred, invoke(proj1, *(i + n)), invoke(proj2, *(first2 + n))) != false` であるようなサブシーケンスを探し、見つかった **最後の** サブシーケンス`{i, i + (i == last1 ? 0 : last2 - first2)}`を返す。そのようなイテレータが見つからない、もしくは `[first2,last2)` が空である場合は `{last1, last1}` を返す。
5050
- (2): `first1 = begin(r1)`, `last1 = end(r1)`, `first2 = begin(r2)`, `last2 = end(r2)`の下で(1)と等しい。
5151
5252
## 計算量

reference/algorithm/ranges_remove_copy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace std::ranges {
8585
- (2): Rangeを直接指定する
8686
8787
## 事前条件
88-
- `[first,last)` と `[result,result + (last - first)` は重なってはならない。
88+
- `[first,last)` と `[result,result + (last - first))` は重なってはならない。
8989
9090
## 効果
9191
`[first,last)` 内にあるイテレータ `i` について、[`invoke`](/reference/functional/invoke.md)`(proj, *i) == value` でない要素を `result` へコピーする

reference/algorithm/ranges_remove_copy_if.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace std::ranges {
4343
- (2): Rangeを直接指定する
4444
4545
## 事前条件
46-
- `[first,last)` と `[result,result + (last - first)` は重なってはならない。
46+
- `[first,last)` と `[result,result + (last - first))` は重なってはならない。
4747
4848
4949
## 効果

reference/algorithm/remove_copy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace std {
6262
6363
6464
## 事前条件
65-
- `[first,last)` と `[result,result + (last - first)` は重なってはならない。
65+
- `[first,last)` と `[result,result + (last - first))` は重なってはならない。
6666
6767
6868
## 効果

reference/algorithm/remove_copy_if.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace std {
3939
4040
4141
## 事前条件
42-
- `[first,last)` と `[result,result + (last - first)` は重なってはならない
42+
- `[first,last)` と `[result,result + (last - first))` は重なってはならない
4343
4444
4545
## 効果

reference/cassert/assert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- C++03 : パラメータの式を評価し、
3131
- C++26 : 可変引数パラメータ`__VA_ARGS__``bool`に変換し、
3232
- 真に評価された場合は、なにもしない
33-
- そうでない場合(`0`と等しい場合)、式をテキスト化したもの、([`std::source_location`](/reference/source_location/source_location.md)`::`[`current()`](/reference/source_location/source_location/current.md)で取得できるような) ソースファイル名、行番号、関数名を標準エラー出力に処理系定義の書式で書き込み、[`abort()`](/reference/cstdlib/abort.md)関数を呼び出してプログラムを異常終了させる
33+
- そうでない場合(`0`と等しい場合)、式をテキスト化したもの、([`std::source_location`](/reference/source_location/source_location.md)`::`[`current()`](/reference/source_location/source_location/current.md)で取得できるようなソースファイル名、行番号、関数名を標準エラー出力に処理系定義の書式で書き込み、[`abort()`](/reference/cstdlib/abort.md)関数を呼び出してプログラムを異常終了させる
3434
- 無効な場合:
3535
- パラメータの式は評価はされず、なにもしない
3636

reference/chrono/format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ chronoライブラリではこれに加え、たとえばデフォルトでは
4545
| `%b` | ロケール依存の月の略称。<br/> 値に有効な月が含まれていない場合、[`std::format_error`](/reference/format/format_error.md)例外を送出する | `"Apr"`, `"4月"` |
4646
| `%B` | ロケール依存の月の完全名。<br/> 値に有効な月が含まれていない場合、[`std::format_error`](/reference/format/format_error.md)例外を送出する | `"April"`, `"4月"` |
4747
| `%c` | ロケール依存の日付・時間の表現。改良コマンド`%Ec`を指定すると、異なる表現を出力する | `"Fri Apr 24 17:14:44 2020"`<br/> `"2020年04月24日 17時14分44秒"` |
48-
| `%C` | 100で切り下げ除算した年 (世紀)。結果が10進数で1桁の場合、先頭に`0`がつく。改良コマンド`%EC`を指定すると、ロケール依存の世紀の異なる表現を出力する | 2020年では`"20"`) |
48+
| `%C` | 100で切り下げ除算した年 (世紀)。結果が10進数で1桁の場合、先頭に`0`がつく。改良コマンド`%EC`を指定すると、ロケール依存の世紀の異なる表現を出力する | 2020年では`"20"` |
4949
| `%d` | 10進数での月の日。結果が10進数で1桁の場合、先頭に`0`がつく。改良コマンド`%Od`を指定すると、ロケール依存の異なる表現を出力する | `"24"` |
5050
| `%D` | `%m/%d/%y`と等価 | `"04/24/20"` |
5151
| `%e` | 10進数での月の日。結果が10進数で1桁の場合、先頭にスペースがつく。改良コマンド`%Oe`を指定すると、ロケール依存の異なる表現を出力する | `" 1"` |

reference/chrono/system_clock.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ namespace chrono {
2222
2323
`system_clock`のエポックは、以下である:
2424
25-
- C++17 以前の場合、`system_clock` のエポックがどの時間を指しているかは未規定だが、ほとんどの処理系は UNIX 時間(1970年1月1日0時0分0秒)を指している
26-
- C++20 以降の場合、`system_clock` のエポックは必ず UNIX 時間(1970年1月1日0時0分0秒)を指す
25+
- C++17 以前の場合、`system_clock` のエポックがどの時間を指しているかは未規定だが、ほとんどの処理系は UNIX 時間(1970年1月1日0時0分0秒を指している
26+
- C++20 以降の場合、`system_clock` のエポックは必ず UNIX 時間(1970年1月1日0時0分0秒を指す
2727
2828
2929
### うるう秒の扱い

reference/cmath/beta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ beta(2, 4) = 0.05
9191
### 備考
9292
#### GCC (libstdc++)
9393
GCC 7.1.0–8.0.0 では `beta`[`exp`](exp.md)[`lgamma`](lgamma.md) を用いて
94-
$ |\mathrm{B}(x, y)| = \exp(\ln |\Gamma(x) \Gamma(y) / \Gamma(x + y)|)) $
94+
$ |\mathrm{B}(x, y)| = \exp(\ln |\Gamma(x) \Gamma(y) / \Gamma(x + y)|) $
9595
を計算する。
9696
`x < 0 || y < 0` でも定義域エラーを報告せずに値を返すが、戻り値は必ず正になる。
9797

reference/compare/strong_ordering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace std {
2222
//静的メンバ定数の定義(初期化している値は説明のためのもの)
2323
inline constexpr strong_ordering strong_ordering::less(-1);
2424
inline constexpr strong_ordering strong_ordering::equal(0);
25-
inline constexpr strong_ordering strong_ordering::equivalent(0));
25+
inline constexpr strong_ordering strong_ordering::equivalent(0);
2626
inline constexpr strong_ordering strong_ordering::greater(1);
2727
}
2828
```

0 commit comments

Comments
 (0)