Skip to content

Commit 5686980

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 32431c5 commit 5686980

5 files changed

Lines changed: 2086 additions & 1616 deletions

File tree

lang/cpp26/feature_test_macros.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-08-27T15:05:49+09:00">
193-
2026年08月27日 15時05分49秒 (JST)
192+
datetime="2026-08-28T10:01:58+09:00">
193+
2026年08月28日 10時01分58秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -1252,6 +1252,10 @@ <h2>参照</h2>
12521252
<li>C++26で、<code>__cpp_lib_stdbit_h</code><code>__cpp_lib_stdckdint_h</code>が追加された</li>
12531253
</ul>
12541254
</li>
1255+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2909r4.html" target="_blank">P2909R4 Fix formatting of code units as integers (Dude, where's my char?)</a><ul>
1256+
<li>C++26で、<code>__cpp_lib_format_uchar</code>が追加された</li>
1257+
</ul>
1258+
</li>
12551259
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3371r5.html" target="_blank">P3371R5 Fix C++26 BLAS rank updates consistency</a><ul>
12561260
<li>C++26で<code>__cpp_lib_linalg</code><code>202511L</code>に更新された</li>
12571261
</ul>

reference/format/basic_format_arg/op_constructor.html

Lines changed: 6 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="2026-08-21T14:01:16+09:00">
205-
2026年08月21日 14時01分16秒 (JST)
204+
datetime="2026-08-28T10:01:58+09:00">
205+
2026年08月28日 10時01分58秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -307,7 +307,6 @@ <h2>効果</h2>
307307
<p>(2): <code>TD</code><code>remove_const&lt;T&gt;</code>として、以下の順に<code>value</code>を初期化する。</p>
308308
<ul>
309309
<li><code>TD</code><code>bool</code>なら、<code>v</code>で初期化</li>
310-
<li><code>TD</code><code>char</code>かつ<code>char_type</code><code>wchar_t</code>なら、<code>value</code><code>static_cast&lt;wchar_t&gt;(v)</code>で初期化</li>
311310
<li><code>TD</code><code>char</code>かつ<code>char_type</code><code>wchar_t</code>なら、<code>value</code><code>static_cast&lt;wchar_t&gt;(static_cast&lt;unsigned char&gt;(v))</code>で初期化</li>
312311
<li><code>TD</code>が符号つき整数型かつ<code>sizeof(TD) &lt;= sizeof(int)</code>なら、<code>value</code><code>static_cast&lt;int&gt;(v)</code>で初期化</li>
313312
<li><code>TD</code>が符号なし整数型かつ<code>sizeof(TD) &lt;= sizeof(unsigned int)</code>なら、<code>value</code><code>static_cast&lt;unsigned int&gt;(v)</code>で初期化</li>
@@ -340,6 +339,10 @@ <h2>参照</h2>
340339
<li>C++23で、コンストラクタが検査する型プロパティをcvref除去後の型で判定するよう整理された(最終的にコンストラクタは左辺値参照<code>T&amp;</code>をとり、<code>TD = remove_const_t&lt;T&gt;</code>で判定する形になった)</li>
341340
</ul>
342341
</li>
342+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2909r4.html" target="_blank">P2909R4 Fix formatting of code units as integers (Dude, where's my char?)</a><ul>
343+
<li>C++26で、<code>char</code><code>wchar_t</code>として保持する場合に<code>unsigned char</code>を経由して変換するよう規定された。この修正は欠陥報告 (DR) であり、C++20へ遡及して適用される。元の規定では<code>char</code>の符号の有無が<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>であるために変換結果も<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>となっており、移植性のある動作が存在しなかったため</li>
344+
</ul>
345+
</li>
343346
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3391r2.html" target="_blank">P3391R2 <code>constexpr std::format</code></a><ul>
344347
<li>C++26から<code>constexpr</code>に対応した</li>
345348
</ul>

reference/format/format.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-08-19T22:28:35+09:00">
193-
2026年08月19日 22時28分35秒 (JST)
192+
datetime="2026-08-28T10:01:58+09:00">
193+
2026年08月28日 10時01分58秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -392,7 +392,7 @@ <h4>文字型の場合</h4>
392392
</tbody>
393393
</table>
394394
<p>デフォルトは <code>c</code></p>
395-
<p>整数型のオプションも指定できる。その場合は、十分な大きさの符号なし整数型として扱われる</p>
395+
<p>整数型のオプションも指定できる (<code>b</code><code>B</code><code>d</code><code>o</code><code>x</code><code>X</code>)。その場合、値は基底の型の符号なし版 (<code>char</code>であれば<code>unsigned char</code>) に変換されてから、整数型のオプションの規定にしたがって出力される。これにより、<code>char</code>が符号付きであるか否かが<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>であっても、出力は処理系によらず一定となる</p>
396396
<h4><code>bool</code>型の場合</h4>
397397
<p>デフォルトまたは <code>s</code> を指定すると、 <code>true</code> / <code>false</code> という文字列を出力する。</p>
398398
<p>整数型のオプションも指定できる。その場合は、<code>unsigned char</code><code>static_cast</code> される。ただし、C++23以降は <code>c</code> (文字として出力)を指定できない(<code>bool</code>を文字として出力する意味がないため)。</p>
@@ -1046,6 +1046,10 @@ <h2>参照</h2>
10461046
<li>C++26から、ポインタ値を大文字で出力する<code>P</code>オプションが追加された</li>
10471047
</ul>
10481048
</li>
1049+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2909r4.html" target="_blank">P2909R4 Fix formatting of code units as integers (Dude, where's my char?)</a><ul>
1050+
<li>C++26で、文字型を整数として出力する場合に、値を基底の型の符号なし版へ変換してから出力するよう規定された。この修正は欠陥報告 (DR) であり、C++20へ遡及して適用される。元の規定では<code>char</code>の符号の有無が<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>であるために出力も<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>となっており、移植性のある動作が存在しなかったため</li>
1051+
</ul>
1052+
</li>
10491053
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3391r2.html" target="_blank">P3391R2 <code>constexpr std::format</code></a><ul>
10501054
<li>C++26から非ロケール版が<code>constexpr</code>に対応した</li>
10511055
</ul>

0 commit comments

Comments
 (0)