Skip to content

Commit 2d26eab

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 7664bf1 commit 2d26eab

9 files changed

Lines changed: 2643 additions & 4617 deletions

File tree

lang/cpp29.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@
177177
<p class="text-right"><small>
178178
最終更新日時:
179179
<time itemprop="datePublished" class="js-local-time"
180-
datetime="2026-09-07T17:05:36+09:00">
181-
2026年09月07日 17時05分36秒 (JST)
180+
datetime="2026-09-07T17:24:24+09:00">
181+
2026年09月07日 17時24分24秒 (JST)
182182
</time>
183183
<br/>
184184
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -463,7 +463,7 @@ <h3>メモリ</h3>
463463
<h3>エラーハンドリング</h3>
464464
<ul>
465465
<li><code><a href="../reference/expected/expected.html">std::expected</a></code>クラスに、エラー値を保持しているかを判定するメンバ関数<code><a href="../reference/expected/expected/has_error.html">has_error()</a></code>を追加</li>
466-
<li><code><a href="../reference/system_error/error_code.html">std::error_code</a></code>クラスのオブジェクトを文字列化する際の、カテゴリ名のエンコーディングの問題を修正し、<code><a href="../reference/format/format.html">std::format()</a></code>用の<code>formatter</code>特殊化を追加</li>
466+
<li><code><a href="../reference/system_error/error_code.html">std::error_code</a></code>クラスを<code><a href="../reference/format/format.html">std::format()</a></code>で出力できるよう、<a href="../reference/system_error/error_code/formatter.html"><code>formatter</code>特殊化</a>を追加。あわせて、カテゴリ名とエラーメッセージのエンコーディングが<a class="cpprefjp-defined-word" data-desc="未規定の動作。事前の断りなく処理系によって異なる動作をする" href="../implementation-compliance.html#dfn-unspecified-behavior">未規定</a>だった問題を修正</li>
467467
</ul>
468468
<h3>並行・並列</h3>
469469
<ul>

reference/system_error/error_category/message.html

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@
201201
<p class="text-right"><small>
202202
最終更新日時:
203203
<time itemprop="datePublished" class="js-local-time"
204-
datetime="2024-06-11T22:45:38+09:00">
205-
2024年06月11日 22時45分38秒 (JST)
204+
datetime="2026-09-07T17:24:24+09:00">
205+
2026年09月07日 17時24分24秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -256,6 +256,10 @@ <h2>概要</h2>
256256
<p>エラーコードに対応するメッセージを取得する</p>
257257
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
258258
<p>エラーコードを説明するメッセージを返す</p>
259+
<ul>
260+
<li>C++11 : 文字列のエンコーディングは<a class="cpprefjp-defined-word" data-desc="未規定の動作。事前の断りなく処理系によって異なる動作をする" href="../../../implementation-compliance.html#dfn-unspecified-behavior">未規定</a>(実装によってCロケールのエンコーディングだったり、Windowsのコードページ (ACP) だったりと移植可能に扱えなかった)</li>
261+
<li>C++29 : 文字列は、実行文字集合のマルチバイト文字列であると規定された</li>
262+
</ul>
259263
<h2></h2>
260264
<p><div class="yata" id="1fb45b722f0b1655e891f9fd67a1e70f7b0b07f7"><div class="codehilite"><pre><span></span><code><span class="cp">#include <a href="../../iostream.html">&lt;iostream&gt;</a></span>
261265
<span class="cp">#include <a href="../../system_error.html">&lt;system_error&gt;</a></span>
@@ -286,7 +290,17 @@ <h3>処理系</h3>
286290
<li><a href="../../../implementation.html#icc">ICC</a>: ??</li>
287291
<li><a href="../../../implementation.html#visual_cpp">Visual C++</a>: 2010 <span aria-label="検証済" role="img" title="検証済"></span></li>
288292
</ul>
289-
<h2>参照</h2></div>
293+
<h2>参照</h2>
294+
<ul>
295+
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p3395r6.html" target="_blank">P3395R6 Fix encoding issues and add a <code>formatter</code> for <code>std::error_code</code></a><ul>
296+
<li>C++29で、返される文字列のエンコーディングが規定された</li>
297+
</ul>
298+
</li>
299+
<li><a href="https://cplusplus.github.io/LWG/issue4156" target="_blank">LWG Issue 4156. <code>error_category</code> messages have unspecified encoding</a><ul>
300+
<li>エンコーディングが<a class="cpprefjp-defined-word" data-desc="未規定の動作。事前の断りなく処理系によって異なる動作をする" href="../../../implementation-compliance.html#dfn-unspecified-behavior">未規定</a>であることを指摘したissue。P3395R6で解決された</li>
301+
</ul>
302+
</li>
303+
</ul></div>
290304

291305
</div>
292306
</div>

reference/system_error/error_category/name.html

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@
201201
<p class="text-right"><small>
202202
最終更新日時:
203203
<time itemprop="datePublished" class="js-local-time"
204-
datetime="2024-06-11T22:45:38+09:00">
205-
2024年06月11日 22時45分38秒 (JST)
204+
datetime="2026-09-07T17:24:24+09:00">
205+
2026年09月07日 17時24分24秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -256,6 +256,10 @@ <h2>概要</h2>
256256
<p>カテゴリの名前を取得する</p>
257257
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
258258
<p>エラーの分類を示す文字列を返す</p>
259+
<ul>
260+
<li>C++11 : 文字列のエンコーディングは<a class="cpprefjp-defined-word" data-desc="未規定の動作。事前の断りなく処理系によって異なる動作をする" href="../../../implementation-compliance.html#dfn-unspecified-behavior">未規定</a>(実際には、各実装とも文字列リテラルで定義しており、通常の文字列リテラルのエンコーディングだった)</li>
261+
<li>C++29 : 文字列は、通常の文字列リテラルのエンコーディングであると規定された</li>
262+
</ul>
259263
<h2><a class="cpprefjp-defined-word" data-desc="問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態">例外</a></h2>
260264
<p>投げない</p>
261265
<h2></h2>
@@ -288,7 +292,17 @@ <h3>処理系</h3>
288292
<li><a href="../../../implementation.html#icc">ICC</a>: ??</li>
289293
<li><a href="../../../implementation.html#visual_cpp">Visual C++</a>: 2010 <span aria-label="検証済" role="img" title="検証済"></span></li>
290294
</ul>
291-
<h2>参照</h2></div>
295+
<h2>参照</h2>
296+
<ul>
297+
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p3395r6.html" target="_blank">P3395R6 Fix encoding issues and add a <code>formatter</code> for <code>std::error_code</code></a><ul>
298+
<li>C++29で、返される文字列のエンコーディングが規定された</li>
299+
</ul>
300+
</li>
301+
<li><a href="https://cplusplus.github.io/LWG/issue4156" target="_blank">LWG Issue 4156. <code>error_category</code> messages have unspecified encoding</a><ul>
302+
<li>エンコーディングが<a class="cpprefjp-defined-word" data-desc="未規定の動作。事前の断りなく処理系によって異なる動作をする" href="../../../implementation-compliance.html#dfn-unspecified-behavior">未規定</a>であることを指摘したissue。P3395R6で解決された</li>
303+
</ul>
304+
</li>
305+
</ul></div>
292306

293307
</div>
294308
</div>

reference/system_error/error_code.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2025-07-12T02:16:44+09:00">
193-
2025年07月12日 02時16分44秒 (JST)
192+
datetime="2026-09-07T17:24:24+09:00">
193+
2026年09月07日 17時24分24秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">Koichi Murase</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -379,6 +379,11 @@ <h2>その他</h2>
379379
<td><code>error_code</code>での特殊化</td>
380380
<td>C++11</td>
381381
</tr>
382+
<tr>
383+
<td><code><a href="error_code/formatter.html">formatter</a></code></td>
384+
<td><code><a href="../format/formatter.html">std::formatter</a></code>クラスの特殊化</td>
385+
<td>C++29</td>
386+
</tr>
382387
</tbody>
383388
</table>
384389
<h2></h2>
@@ -421,7 +426,13 @@ <h3>処理系</h3>
421426
<li><a href="../../implementation.html#icc">ICC</a>: ??</li>
422427
<li><a href="../../implementation.html#visual_cpp">Visual C++</a>: 2010 <span aria-label="検証済" role="img" title="検証済"></span></li>
423428
</ul>
424-
<h2>参照</h2></div>
429+
<h2>参照</h2>
430+
<ul>
431+
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p3395r6.html" target="_blank">P3395R6 Fix encoding issues and add a <code>formatter</code> for <code>std::error_code</code></a><ul>
432+
<li>C++29で、<code><a href="../format/format.html">std::format()</a></code>用の<code><a href="error_code/formatter.html">formatter</a></code>特殊化が追加された</li>
433+
</ul>
434+
</li>
435+
</ul></div>
425436

426437
</div>
427438
</div>

0 commit comments

Comments
 (0)