|
176 | 176 |
|
177 | 177 | <p class="text-right"><small> |
178 | 178 | 最終更新日時(UTC): |
179 | | - <span itemprop="datePublished" content="2025-01-28T09:11:31"> |
180 | | - 2025年01月28日 09時11分31秒 |
| 179 | + <span itemprop="datePublished" content="2025-03-26T09:39:56"> |
| 180 | + 2025年03月26日 09時39分56秒 |
181 | 181 | </span> |
182 | 182 | <br/> |
183 | 183 | <span itemprop="author" itemscope itemtype="http://schema.org/Person"> |
184 | | - <span itemprop="name">yoh</span> |
| 184 | + <span itemprop="name">Akira Takahashi</span> |
185 | 185 | </span> |
186 | 186 | が更新 |
187 | 187 | </small></p> |
@@ -299,6 +299,33 @@ <h3>関数</h3> |
299 | 299 | <td><a href="cpp26/delete_reason.html">関数宣言を削除する理由を指定できるようにする</a></td> |
300 | 300 | <td><code>f() = delete("reason");</code></td> |
301 | 301 | </tr> |
| 302 | +<tr> |
| 303 | +<td><span href="https://cpprefjp.github.io/lang/cpp26/contracts.md.nolink">契約プログラミングをサポートする</span></td> |
| 304 | +<td>関数の<a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当">事前条件</a>、<a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Postconditions。関数を実行後に満たされている条件。契約属性の`[[ensures]]`に相当">事後条件</a>、不変条件を記述できるようにする</td> |
| 305 | +</tr> |
| 306 | +</tbody> |
| 307 | +</table> |
| 308 | +<h3>クラス</h3> |
| 309 | +<table border="1" bordercolor="#888" style="border-collapse:collapse"> |
| 310 | +<thead> |
| 311 | +<tr> |
| 312 | +<th>言語機能</th> |
| 313 | +<th>説明</th> |
| 314 | +</tr> |
| 315 | +</thead> |
| 316 | +<tbody> |
| 317 | +<tr> |
| 318 | +<td><span href="https://cpprefjp.github.io/lang/cpp26/abolish_the_term_converting_constructor.md.nolink">変換コンストラクタという用語を廃止する</span></td> |
| 319 | +<td>規格上で「<code>explicit</code>ではないコンストラクタ」という意味で定義されていたあまり使われない用語「変換コンストラクタ」を削除する</td> |
| 320 | +</tr> |
| 321 | +<tr> |
| 322 | +<td><span href="https://cpprefjp.github.io/lang/cpp26/trivial_unions.md.nolink">共用体をトリビアルに未初期化できるようにする</span></td> |
| 323 | +<td><code>constexpr</code>での<code>union U { T storage[N]; };</code>を許可し、未初期化にできるようにする</td> |
| 324 | +</tr> |
| 325 | +<tr> |
| 326 | +<td><span href="https://cpprefjp.github.io/lang/cpp26/trivial_relocatability.md.nolink">トリビアルな再配置</span></td> |
| 327 | +<td>ムーブ構築と破棄のためにビット単位のコピーとデストラクタ評価が必要になる型のオブジェクトを再配置するメカニズムを導入する</td> |
| 328 | +</tr> |
302 | 329 | </tbody> |
303 | 330 | </table> |
304 | 331 | <h3>属性</h3> |
@@ -341,6 +368,10 @@ <h3>テンプレート</h3> |
341 | 368 | <td><span href="https://cpprefjp.github.io/lang/cpp26/variadic_friends.md.nolink">可変引数テンプレートで<code>friend</code>宣言をできるようにする</span></td> |
342 | 369 | <td>クラステンプレートの可変引数テンプレートでまとめて<code>friend</code>宣言できるようにする</td> |
343 | 370 | </tr> |
| 371 | +<tr> |
| 372 | +<td><span href="https://cpprefjp.github.io/lang/cpp26/concept_and_variable-template_template-parameters.md.nolink">コンセプトと変数テンプレートにテンプレートテンプレートパラメータのサポートを追加</span></td> |
| 373 | +<td>テンプレート引数をあとで指定するテンプレートテンプレートパラメータを、コンセプトと変数テンプレートでも使用できるようにする</td> |
| 374 | +</tr> |
344 | 375 | </tbody> |
345 | 376 | </table> |
346 | 377 | <h3>定数式</h3> |
@@ -374,6 +405,21 @@ <h3>定数式</h3> |
374 | 405 | </tr> |
375 | 406 | </tbody> |
376 | 407 | </table> |
| 408 | +<h3>プリプロセッサ</h3> |
| 409 | +<table border="1" bordercolor="#888" style="border-collapse:collapse"> |
| 410 | +<thead> |
| 411 | +<tr> |
| 412 | +<th>言語機能</th> |
| 413 | +<th>説明</th> |
| 414 | +</tr> |
| 415 | +</thead> |
| 416 | +<tbody> |
| 417 | +<tr> |
| 418 | +<td><span href="https://cpprefjp.github.io/lang/cpp26/embed.md.nolink">ファイルを読み込む<code>#embed</code>命令を追加</span></td> |
| 419 | +<td>バイナリファイルをインクルードするメカニズム。<code>#include</code>とちがって読み出しサイズなどの柔軟な指定ができる</td> |
| 420 | +</tr> |
| 421 | +</tbody> |
| 422 | +</table> |
377 | 423 | <h3>ソースコード</h3> |
378 | 424 | <table border="1" bordercolor="#888" style="border-collapse:collapse"> |
379 | 425 | <thead> |
@@ -740,6 +786,7 @@ <h3>ユーティリティ</h3> |
740 | 786 | </ul> |
741 | 787 | </li> |
742 | 788 | <li><code><a href="../reference/memory.html"><memory></a></code>に、ポインタのアライメントを判定する<code><a href="../reference/memory/is_sufficiently_aligned.html">std::is_sufficiently_aligned()</a></code>関数を追加。</li> |
| 789 | +<li><code><a href="../reference/utility.html"><utility></a></code>に、タイムトラベル最適化を抑止するための観測可能ポイントとして<code><span href="https://cpprefjp.github.io/reference/utility/observable.md.nolink">std::observable()</span></code>を追加</li> |
743 | 790 | </ul> |
744 | 791 | <h3>デバッグ</h3> |
745 | 792 | <ul> |
@@ -768,6 +815,7 @@ <h3>機能の非推奨化</h3> |
768 | 815 | <li>これは<code><a href="../reference/type_traits/is_trivially_copyable.html">std::is_trivially_copyable</a></code>と<code><a href="../reference/type_traits/is_trivially_default_constructible.html">std::is_trivially_default_constructible</a></code>の2つが合わさったものであるが、それらは異なる状況で必要になるものであった</li> |
769 | 816 | </ul> |
770 | 817 | </li> |
| 818 | +<li><code><a href="../reference/atomic/memory_order.html">std::memory_order::consume</a></code>と<code><a href="../reference/atomic/kill_dependency.html">std::kill_dependency()</a></code>を非推奨化</li> |
771 | 819 | </ul> |
772 | 820 | <h3>非推奨の取り消し</h3> |
773 | 821 | <ul> |
|
0 commit comments