Skip to content

Commit a2a95a1

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 7ff4e62 commit a2a95a1

38 files changed

Lines changed: 3008 additions & 15984 deletions

lang/cpp26/feature_test_macros.html

Lines changed: 19 additions & 5 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-14T20:05:59+09:00">
193-
2026年08月14日 20時05分59秒 (JST)
192+
datetime="2026-08-27T15:05:49+09:00">
193+
2026年08月27日 15時05分49秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -368,9 +368,9 @@ <h3>ライブラリ</h3>
368368
</tr>
369369
<tr>
370370
<td><code>__cpp_lib_apply</code></td>
371-
<td><code>202506L</code></td>
372-
<td><code><a href="../../reference/tuple/apply.html">std::apply</a></code><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>型推論をやめて、<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>型用の<code><span href="https://cpprefjp.github.io/reference/tuple/apply_result.md.nolink">std::apply_result</span></code>クラスを追加</td>
373-
<td><code><a href="../../reference/tuple.html">&lt;tuple&gt;</a></code>, <code><a href="../../reference/type_traits.html">&lt;type_traits&gt;</a></code></td>
371+
<td><code>202603L</code></td>
372+
<td><code><a href="../../reference/tuple/apply.html">std::apply</a></code><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>型推論をやめて、<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>型用の<code><span href="https://cpprefjp.github.io/reference/tuple/apply_result.md.nolink">std::apply_result</span></code>クラスを追加 (<code>202506L</code>)。<code><a href="../../reference/meta.html">&lt;meta&gt;</a></code>にも対応する<code><a href="../../reference/meta/apply_result.html">std::meta::apply_result</a></code>などを追加 (<code>202603L</code>)</td>
373+
<td><code><a href="../../reference/tuple.html">&lt;tuple&gt;</a></code>, <code><a href="../../reference/type_traits.html">&lt;type_traits&gt;</a></code>, <code><a href="../../reference/meta.html">&lt;meta&gt;</a></code></td>
374374
</tr>
375375
<tr>
376376
<td><code>__cpp_lib_atomic_min_max</code></td>
@@ -523,6 +523,12 @@ <h3>ライブラリ</h3>
523523
<td><code><a href="../../reference/stack.html">&lt;stack&gt;</a></code></td>
524524
</tr>
525525
<tr>
526+
<td><code>__cpp_lib_constexpr_string</code></td>
527+
<td><code>202511L</code></td>
528+
<td><code><a href="../../reference/string/to_string.html">std::to_string()</a></code><code><a href="../../reference/string/to_wstring.html">std::to_wstring()</a></code>の整数版が<code>constexpr</code>対応</td>
529+
<td><code><a href="../../reference/string.html">&lt;string&gt;</a></code></td>
530+
</tr>
531+
<tr>
526532
<td><code>__cpp_lib_constexpr_unordered_map</code></td>
527533
<td><code>202502L</code></td>
528534
<td><code><a href="../../reference/unordered_map/unordered_map.html">std::unordered_map</a></code> / <code><a href="../../reference/unordered_map/unordered_multimap.html">std::unordered_multimap</a></code><code>constexpr</code>対応</td>
@@ -1234,6 +1240,14 @@ <h2>参照</h2>
12341240
<li>C++26で、<code>__cpp_lib_aligned_accessor</code><code>__cpp_lib_array_constexpr</code><code>__cpp_lib_clamp</code><code>__cpp_lib_constexpr_numeric</code><code>__cpp_lib_function_ref</code><code>__cpp_lib_gcd_lcm</code><code>__cpp_lib_integer_comparison_functions</code><code>__cpp_lib_is_sufficiently_aligned</code><code>__cpp_lib_ranges_contains</code><code>__cpp_lib_ranges_enumerate</code><code>__cpp_lib_ranges_find_last</code><code>__cpp_lib_ranges_fold</code><code>__cpp_lib_ranges_iota</code><code>__cpp_lib_ranges_starts_ends_with</code><code>__cpp_lib_robust_nonmodifying_seq_ops</code><code>__cpp_lib_sample</code><code>__cpp_lib_saturation_arithmetic</code>が、フリースタンディング機能に対応するマクロとしてマークされた(あわせて<code>&lt;memory&gt;</code><code>is_sufficiently_aligned</code>もフリースタンディング指定された)</li>
12351241
</ul>
12361242
</li>
1243+
<li><a href="https://cplusplus.github.io/LWG/issue4531" target="_blank">LWG Issue 4531. Should there be a feature-test macro update for constexpr <code>std::to_(w)string</code>?</a><ul>
1244+
<li><code><a href="../../reference/string/to_string.html">std::to_string()</a></code><code>constexpr</code>対応がどの機能テストマクロにも反映されていなかったため、<code>__cpp_lib_constexpr_string</code><code>202511L</code>に更新された。このIssueは規格としてはC++29のワーキングドラフトへ適用されたが、C++26で追加された機能に対する修正であるため、C++26へ遡及して適用される</li>
1245+
</ul>
1246+
</li>
1247+
<li><a href="https://cplusplus.github.io/LWG/issue4567" target="_blank">LWG Issue 4567. Feature test macro value for <code>apply_result</code>, <code>is_applicable</code></a><ul>
1248+
<li><code>__cpp_lib_apply</code>の値が整理され、<a href="https://wg21.link/P1317R2" target="_blank">P1317R2</a>に対応した場合は<code>202506L</code><a href="https://wg21.link/P3795R2" target="_blank">P3795R2</a>による<code><a href="../../reference/meta.html">&lt;meta&gt;</a></code>側の対応も行った場合は<code>202603L</code>となった。このIssueは規格としてはC++29のワーキングドラフトへ適用されたが、いずれもC++26で追加された機能に対する修正であるため、C++26へ遡及して適用される</li>
1249+
</ul>
1250+
</li>
12371251
<li><a href="https://cplusplus.github.io/LWG/issue4550" target="_blank">LWG Issue 4550. Need new feature test macros for <code>&lt;stdckdint.h&gt;</code> and <code>&lt;stdbit.h&gt;</code></a><ul>
12381252
<li>C++26で、<code>__cpp_lib_stdbit_h</code><code>__cpp_lib_stdckdint_h</code>が追加された</li>
12391253
</ul>

reference/atomic/atomic/notify_all.html

Lines changed: 6 additions & 2 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-12-23T16:58:47+09:00">
205-
2024年12月23日 16時58分47秒 (JST)
204+
datetime="2026-08-27T15:28:30+09:00">
205+
2026年08月27日 15時28分30秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -329,6 +329,10 @@ <h2>参照</h2>
329329
<li>C++26で<code>constexpr</code>に対応した</li>
330330
</ul>
331331
</li>
332+
<li><a href="https://cplusplus.github.io/LWG/issue3417" target="_blank">LWG Issue 3417. Missing <code>volatile</code> atomic deprecations</a><ul>
333+
<li><code>volatile</code>修飾された<a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a><code>is_always_lock_free</code><code>true</code>である場合にのみ<a class="cpprefjp-defined-word" data-desc="関数呼び出し時に、同名の関数の中から実際に呼び出す関数を決定する処理。このときの候補になることを、オーバーロード解決に参加するという">オーバーロード解決</a>に参加することが規定された。この制約はほかの<code>volatile</code>版メンバ関数には当初からあったが、この関数には記載が漏れていた。規格としてはC++29のワーキングドラフトへ適用されたが、記載漏れの修正であるため、この関数が追加されたC++20へ遡及して適用される</li>
334+
</ul>
335+
</li>
332336
</ul></div>
333337

334338
</div>

reference/atomic/atomic/notify_one.html

Lines changed: 6 additions & 2 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-12-23T16:58:47+09:00">
205-
2024年12月23日 16時58分47秒 (JST)
204+
datetime="2026-08-27T15:28:30+09:00">
205+
2026年08月27日 15時28分30秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -355,6 +355,10 @@ <h2>参照</h2>
355355
<li>C++26で<code>constexpr</code>に対応した</li>
356356
</ul>
357357
</li>
358+
<li><a href="https://cplusplus.github.io/LWG/issue3417" target="_blank">LWG Issue 3417. Missing <code>volatile</code> atomic deprecations</a><ul>
359+
<li><code>volatile</code>修飾された<a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a><code>is_always_lock_free</code><code>true</code>である場合にのみ<a class="cpprefjp-defined-word" data-desc="関数呼び出し時に、同名の関数の中から実際に呼び出す関数を決定する処理。このときの候補になることを、オーバーロード解決に参加するという">オーバーロード解決</a>に参加することが規定された。この制約はほかの<code>volatile</code>版メンバ関数には当初からあったが、この関数には記載が漏れていた。規格としてはC++29のワーキングドラフトへ適用されたが、記載漏れの修正であるため、この関数が追加されたC++20へ遡及して適用される</li>
360+
</ul>
361+
</li>
358362
</ul></div>
359363

360364
</div>

reference/atomic/atomic/wait.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@
201201
<p class="text-right"><small>
202202
最終更新日時:
203203
<time itemprop="datePublished" class="js-local-time"
204-
datetime="2025-01-22T13:39:19+09:00">
205-
2025年01月22日 13時39分19秒 (JST)
204+
datetime="2026-08-27T15:28:30+09:00">
205+
2026年08月27日 15時28分30秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
209-
<span itemprop="name">yoh</span>
209+
<span itemprop="name">Akira Takahashi</span>
210210
</span>
211211
が更新
212212
</small></p>
@@ -385,6 +385,10 @@ <h2>参照</h2>
385385
<li>C++26で<code>constexpr</code>に対応した</li>
386386
</ul>
387387
</li>
388+
<li><a href="https://cplusplus.github.io/LWG/issue3417" target="_blank">LWG Issue 3417. Missing <code>volatile</code> atomic deprecations</a><ul>
389+
<li><code>volatile</code>修飾された<a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a><code>is_always_lock_free</code><code>true</code>である場合にのみ<a class="cpprefjp-defined-word" data-desc="関数呼び出し時に、同名の関数の中から実際に呼び出す関数を決定する処理。このときの候補になることを、オーバーロード解決に参加するという">オーバーロード解決</a>に参加することが規定された。この制約はほかの<code>volatile</code>版メンバ関数には当初からあったが、この関数には記載が漏れていた。規格としてはC++29のワーキングドラフトへ適用されたが、記載漏れの修正であるため、この関数が追加されたC++20へ遡及して適用される</li>
390+
</ul>
391+
</li>
388392
</ul></div>
389393

390394
</div>

reference/atomic/memory_order.html

Lines changed: 11 additions & 3 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-04-03T13:51:18+09:00">
193-
2025年04月03日 13時51分18秒 (JST)
192+
datetime="2026-08-27T16:44:32+09:00">
193+
2026年08月27日 16時44分32秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">yoh</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -341,6 +341,10 @@ <h3>出力</h3>
341341
</tbody>
342342
</table>
343343
<h2>備考</h2>
344+
<h3>Read-Modify-Write操作が読み取る値</h3>
345+
<p>読み込みと書き込みを同時に行う操作 (Read-Modify-Write操作。<code><a href="atomic/fetch_add.html">fetch_add()</a></code><code><a href="atomic/compare_exchange_weak.html">compare_exchange_weak()</a></code>など) は、指定したメモリオーダーによらず、対象のアトミックオブジェクトの変更順序において、自身の副作用の直前にある副作用が書き込んだ値を読み取る。</p>
346+
<p>これにより、複数のスレッドが同じアトミックオブジェクトに対してRead-Modify-Write操作を行っても、それらが同じ値を読み取ることはない。</p>
347+
<h3><code>consume</code>列挙値</h3>
344348
<p>非推奨化された<code>consume</code>列挙値の挙動はacquire操作と似ているが、それより弱い順序付けでの読み込みを行うことを指示する。acquire操作は後続の全ての操作に対して順序付けを行うのに対し、consume操作は読み込まれた値に依存(ただし条件分岐による依存は除く)する操作のみに順序付けを保証する点が異なる。
345349
複雑なconsume操作を正しく実装するC++コンパイラは登場せず、より単純なacquire操作として扱われていた。C++20では仕様再検討に伴う一時的な利用回避が宣言され、最終的には役に立たないとの判断からC++26で非推奨となった。</p>
346350
<h2>バージョン</h2>
@@ -373,6 +377,10 @@ <h2>参照</h2>
373377
<li>C++26で<code>memory_order::consume</code>列挙子を非推奨化。</li>
374378
</ul>
375379
</li>
380+
<li><a href="https://cplusplus.github.io/LWG/issue4521" target="_blank">LWG Issue 4521. Improve [atomics.order] p10 to have a consistent way with [intro.races]</a><ul>
381+
<li>Read-Modify-Write操作が読み取る値の規定が、「変更順序において書き込みより前に書かれた最後の値」から「Read-Modify-Write操作の副作用の直前の副作用による値」という表現へ改められた。メモリモデルのほかの箇所と用語を揃えるためであり、規格としてはC++29のワーキングドラフトへ適用されたが、文言の明確化であるためC++11へ遡及して適用される</li>
382+
</ul>
383+
</li>
376384
</ul></div>
377385

378386
</div>

reference/chrono/is_clock.html

Lines changed: 11 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-08-27T15:31:00+09:00">
193+
2026年08月27日 15時31分00秒 (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>
@@ -282,7 +282,7 @@ <h2>概要</h2>
282282
<tr>
283283
<td><code>C1::is_steady</code></td>
284284
<td><code>const bool</code></td>
285-
<td><code>t1 &lt;= t2</code>が常に真であり (注:時間が戻らない)、時間間隔が常に一定である場合に<code>true</code>、そうでなければ<code>false</code></td>
285+
<td><code>t1 &lt;= t2</code>が常に真であり (注:時間が戻らない)、時間間隔が常に一定である場合に<code>true</code>、そうでなければ<code>false</code>。定数式で使用できることが要求される</td>
286286
</tr>
287287
<tr>
288288
<td><code>C1::now()</code></td>
@@ -332,6 +332,13 @@ <h3>処理系</h3>
332332
<li><a href="../../implementation.html#clang">Clang</a>: 9.0 <span aria-label="未実装" role="img" title="未実装"></span></li>
333333
<li><a href="../../implementation.html#gcc">GCC</a>: 9.2 <span aria-label="未実装" role="img" title="未実装"></span></li>
334334
<li><a href="../../implementation.html#visual_cpp">Visual C++</a>: 2019 Update 3 <span aria-label="未実装" role="img" title="未実装"></span></li>
335+
</ul>
336+
<h2>参照</h2>
337+
<ul>
338+
<li><a href="https://cplusplus.github.io/LWG/issue4487" target="_blank">LWG Issue 4487. Is member <code>is_steady</code> of a Cpp17Clock type required to be usable in constant expressions?</a><ul>
339+
<li><code>C1::is_steady</code>が定数式で使用できることが要件に追加された。それ以前は<code>const bool</code>とだけ規定されており、利用者定義のクロックに対して同じ要求があるかが不明確だった。規格としてはC++29のワーキングドラフトへ適用されたが、<a class="cpprefjp-defined-word" data-desc="未規定の動作。事前の断りなく処理系によって異なる動作をする" href="../../implementation-compliance.html#dfn-unspecified-behavior">未規定</a>だった点の明文化であるため、Cpp17Clock要件が規定されたC++11へ遡及して適用される</li>
340+
</ul>
341+
</li>
335342
</ul></div>
336343

337344
</div>

0 commit comments

Comments
 (0)