File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,11 @@ void return_negative(int value)
131131
132132- ignore: 契約のチェックを無視(ignore)する。
133133
134- - observe: 契約違反時にハンドラを呼び出し、プログラムの実行を続行します 。
134+ - observe: 契約違反時にハンドラを呼び出し、プログラムの実行を続行する 。
135135
136- - enforce: 契約違反時にハンドラを呼び出し、プログラムを終了します 。
136+ - enforce: 契約違反時にハンドラを呼び出し、プログラムを終了する 。
137137
138- - quick_enforce: 契約違反時にハンドラを呼び出さず、即座にプログラムを終了します 。
138+ - quick_enforce: 契約違反時にハンドラを呼び出さず、即座にプログラムを終了する 。
139139
140140評価モードは、コンパイル時、もしくは実行時に指定できる。
141141
@@ -146,7 +146,7 @@ g++ -std=c++26 -fcontracts -fcontract-semantic=observe main.cpp
146146のように指定できる。
147147
148148### 契約違反ハンドラ
149- 契約違反が発生した場合、` std::contracts::contract_violation ` 型の情報(< ; contracts> ; ヘッダー)がハンドラに渡されます 。この情報には、違反の種類、発生場所、違反した条件式などが含まれます 。
149+ 契約違反が発生した場合、` std::contracts::contract_violation ` 型の情報(< ; contracts> ; ヘッダー)がハンドラに渡される 。この情報には、違反の種類、発生場所、違反した条件式などが含まれる 。
150150
151151### 使用上の注意
152152以下の操作は、気をつけなければならない。
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ int_fast16_t is the same as int16_t: 0
636330000 + 10000 = -25536
6464```
6565
66- この出力例は特定の環境に依存しており、処理系によって異なる可能性があります 。特に、` int_fast16_t ` のサイズやオーバーフロー動作は処理系によって異なることがある。
66+ この出力例は特定の環境に依存しており、処理系によって異なる可能性がある 。特に、` int_fast16_t ` のサイズやオーバーフロー動作は処理系によって異なることがある。
6767
6868## バージョン
6969### 言語
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ int_fast32_t is the same as int32_t: 0
63632000000000 + 1000000000 = -1294967296
6464```
6565
66- この出力例は特定の環境に依存しており、処理系によって異なる可能性があります 。特に、` int_fast32_t ` のサイズやオーバーフロー動作は処理系によって異なることがある。
66+ この出力例は特定の環境に依存しており、処理系によって異なる可能性がある 。特に、` int_fast32_t ` のサイズやオーバーフロー動作は処理系によって異なることがある。
6767
6868## バージョン
6969### 言語
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ int_fast8_t is the same as int8_t: 0
6363100 + 50 = -106
6464```
6565
66- この出力例は特定の環境に依存しており、処理系によって異なる可能性があります 。特に、` int_fast8_t ` のサイズやオーバーフロー動作は処理系によって異なることがある。
66+ この出力例は特定の環境に依存しており、処理系によって異なる可能性がある 。特に、` int_fast8_t ` のサイズやオーバーフロー動作は処理系によって異なることがある。
6767
6868## バージョン
6969### 言語
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ namespace std {
1919* expected[link expected.md]
2020* is_void_v[link /reference/type_traits/is_void.md]
2121
22- このページは`expected<cv void, E>`部分特殊化テンプレートに対応するプレースホルダです 。
22+ このページは`expected<cv void, E>`部分特殊化テンプレートに対応するプレースホルダである 。
2323
24- `expected`クラスの説明は[`expected<T, E>`プライマリテンプレート](expected.md)ページを参照してください 。
24+ `expected`クラスの説明は[`expected<T, E>`プライマリテンプレート](expected.md)ページを参照のこと 。
Original file line number Diff line number Diff line change 2828
2929## 参照
3030- [ The cpp-threads Archives] ( https://www.decadent.org.uk/pipermail/cpp-threads/ )
31- - C++11の策定時に、C++標準の言語とライブラリに並行プログラミングの提案を行うため使用されていたメーリングリストのアーカイブです 。
31+ - C++11の策定時に、C++標準の言語とライブラリに並行プログラミングの提案を行うため使用されていたメーリングリストのアーカイブである 。
3232- [ P2051R0 C++ Standard Library Issues to be moved in Prague] ( http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2051r0.html )
You can’t perform that action at this time.
0 commit comments