22<feed xmlns =" http://www.w3.org/2005/Atom" >
33 <title >cpprefjp - C++日本語リファレンス</title >
44 <link href =" https://cpprefjp.github.io" />
5- <updated >2025-06-17T14:49:06.994872 </updated >
6- <id >048558ba-ca81-4e09-a1da-9cbd004179e4 </id >
5+ <updated >2025-06-18T05:01:37.615206 </updated >
6+ <id >06040495-a3c6-4026-b072-eb8c415b3b05 </id >
77
88
99 <entry >
@@ -204,62 +204,4 @@ index 491b7d90c..e93ea0d14 100644
204204 </author >
205205 </entry >
206206
207- <entry >
208- <title >invoke_default_contract_violation_handler -- new page `invoke_default_contract_violation_handler.md` (#1419)</title >
209- <link href =" https://cpprefjp.github.io/reference/contracts/invoke_default_contract_violation_handler.html" />
210- <id >7491d107336f24890601534ce11122b7beae2f44:reference/contracts/invoke_default_contract_violation_handler.md</id >
211- <updated >2025-06-13T12:06:45+09:00</updated >
212-
213- <summary type =" html" >< pre>< code> diff --git a/reference/contracts/invoke_default_contract_violation_handler.md b/reference/contracts/invoke_default_contract_violation_handler.md
214- new file mode 100644
215- index 000000000..844f31814
216- --- /dev/null
217- +++ b/reference/contracts/invoke_default_contract_violation_handler.md
218- @@ -0,0 +1,37 @@
219- +# invoke_default_contract_violation_handler
220- +* contracts[meta header]
221- +* std::contracts[meta namespace]
222- +* function[meta id-type]
223- +* cpp26[meta cpp]
224- +
225- +```cpp
226- +namespace std::contracts {
227- + void invoke_default_contract_violation_handler(const contract_violation& amp; violation);
228- +}
229- +```
230- +
231- +## 概要
232- +契約違反が発生した際に呼び出されるデフォルトのハンドラー関数。
233- +
234- +この関数は、契約違反が発生した際に、[`contract_violation`](contract_violation.md)オブジェクトを受け取り、デフォルトの処理を実行する。
235- +
236- +## 効果
237- +契約違反の情報を標準エラー出力に出力し、[`std::terminate()`](/reference/exception/terminate.md)を呼び出す。
238- +
239- +## バージョン
240- +### 言語
241- +- C++26
242- +
243- +### 処理系
244- +- [Clang](/implementation.md#clang): ?
245- +- [GCC](/implementation.md#gcc): ?
246- +- [ICC](/implementation.md#icc): ?
247- +- [Visual C++](/implementation.md#visual_cpp): ?
248- +
249- +## 関連項目
250- +- [契約に基づくプログラミング](/lang/future/contract-based_programming.md)
251- +- [契約プログラミング](/lang/cpp26/contracts.md)
252- +- [`contract_violation`](contract_violation.md)
253- +
254- +## 参照
255- +- [P2900R14 Contracts for C++](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2900r14.pdf)
256- \ No newline at end of file
257- < /code>< /pre> </summary >
258-
259- <author >
260- <name >rotarymars</name >
261- 262- </author >
263- </entry >
264-
265207</feed >
0 commit comments