|
2 | 2 | <feed xmlns="http://www.w3.org/2005/Atom">
|
3 | 3 | <title>cpprefjp - C++日本語リファレンス</title>
|
4 | 4 | <link href="https://cpprefjp.github.io" />
|
5 |
| - <updated>2025-06-13T03:11:00.579074</updated> |
6 |
| - <id>35b2b3ef-635b-4b05-b315-1bd6f64748f1</id> |
| 5 | + <updated>2025-06-13T03:15:45.029545</updated> |
| 6 | + <id>9ddcf11b-f942-46fd-9941-537baa6e1670</id> |
7 | 7 |
|
8 | 8 |
|
| 9 | + <entry> |
| 10 | + <title>contracts -- removed nolink</title> |
| 11 | + <link href="https://cpprefjp.github.io/reference/contracts.html"/> |
| 12 | + <id>3c65924b17eb8f2e7f19b5e937dcbcb82390179b:reference/contracts.md</id> |
| 13 | + <updated>2025-06-13T12:11:41+09:00</updated> |
| 14 | + |
| 15 | + <content type="html"><div class="header">&lt;contracts&gt;</div><h1 itemprop="name"><span class="token">contracts</span><span class="cpp cpp26" title="C++26で追加">(C++26)</span></h1> |
| 16 | +<div itemprop="articleBody"><h2>概要</h2> |
| 17 | +<p><code>&lt;contracts&gt;</code>ヘッダでは、C++における契約プログラミングのサポートを提供する。</p> |
| 18 | +<p>契約プログラミングは、関数やクラスの前提条件、事後条件、およびアサーションを明示的に指定するプログラミング手法である。これらの条件が満たされない場合、プログラムは契約違反を報告する。</p> |
| 19 | +<table border="1" bordercolor="#888" style="border-collapse:collapse"> |
| 20 | +<thead> |
| 21 | +<tr> |
| 22 | +<th>名前</th> |
| 23 | +<th>説明</th> |
| 24 | +<th>対応バージョン</th> |
| 25 | +</tr> |
| 26 | +</thead> |
| 27 | +<tbody> |
| 28 | +<tr> |
| 29 | +<td><code><a href="contracts/assertion_kind.html">assertion_kind</a></code></td> |
| 30 | +<td>アサーションの種類 (enum)</td> |
| 31 | +<td>C++26</td> |
| 32 | +</tr> |
| 33 | +<tr> |
| 34 | +<td><code><a href="contracts/evaluation_semantic.html">evaluation_semantic</a></code></td> |
| 35 | +<td>アサーションの評価の種類(enum)</td> |
| 36 | +<td>C++26</td> |
| 37 | +</tr> |
| 38 | +<tr> |
| 39 | +<td><code><a href="contracts/detection_mode.html">detection_mode</a></code></td> |
| 40 | +<td>契約違反の検出モード(enum)</td> |
| 41 | +<td>C++26</td> |
| 42 | +</tr> |
| 43 | +<tr> |
| 44 | +<td><code><a href="contracts/contract_violation.html">contract_violation</a></code></td> |
| 45 | +<td>契約違反に関する情報 (class)</td> |
| 46 | +<td>C++26</td> |
| 47 | +</tr> |
| 48 | +<tr> |
| 49 | +<td><code><a href="contracts/invoke_default_contract_violation_handler.html">invoke_default_contract_violation_handler</a></code></td> |
| 50 | +<td>デフォルトcontract_violationハンドラー</td> |
| 51 | +<td>C++26</td> |
| 52 | +</tr> |
| 53 | +</tbody> |
| 54 | +</table> |
| 55 | +<h2>バージョン</h2> |
| 56 | +<h3>言語</h3> |
| 57 | +<ul> |
| 58 | +<li>C++26</li> |
| 59 | +</ul> |
| 60 | +<h3>処理系</h3> |
| 61 | +<ul> |
| 62 | +<li><a href="../implementation.html#clang">Clang</a>: ?</li> |
| 63 | +<li><a href="../implementation.html#gcc">GCC</a>: ?</li> |
| 64 | +<li><a href="../implementation.html#icc">ICC</a>: ?</li> |
| 65 | +<li><a href="../implementation.html#visual_cpp">Visual C++</a>: ?</li> |
| 66 | +</ul> |
| 67 | +<h2>関連項目</h2> |
| 68 | +<ul> |
| 69 | +<li><a href="../lang/future/contract-based_programming.html">契約に基づくプログラミング</a></li> |
| 70 | +<li><a href="../lang/cpp26/contracts.html">契約プログラミング</a></li> |
| 71 | +</ul> |
| 72 | +<h2>参照</h2> |
| 73 | +<ul> |
| 74 | +<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0542r5.html" target="_blank">P0542R5 Support for contract based programming in C++</a></li> |
| 75 | +</ul></div></content> |
| 76 | + |
| 77 | + <author> |
| 78 | + <name>rotarymars</name> |
| 79 | + |
| 80 | + </author> |
| 81 | + </entry> |
| 82 | + |
9 | 83 | <entry>
|
10 | 84 | <title>invoke_default_contract_violation_handler -- new page `invoke_default_contract_violation_handler.md` (#1419)</title>
|
11 | 85 | <link href="https://cpprefjp.github.io/reference/contracts/invoke_default_contract_violation_handler.html"/>
|
|
0 commit comments