Skip to content

Commit f1e012d

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 5eb0e51 commit f1e012d

25 files changed

Lines changed: 4005 additions & 259 deletions

implementation-status.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@
165165
<p class="text-right"><small>
166166
最終更新日時:
167167
<time itemprop="datePublished" class="js-local-time"
168-
datetime="2026-08-31T12:33:34+09:00">
169-
2026年08月31日 12時33分34秒 (JST)
168+
datetime="2026-09-03T10:56:54+09:00">
169+
2026年09月03日 10時56分54秒 (JST)
170170
</time>
171171
<br/>
172172
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -1574,6 +1574,14 @@ <h2><a href="#cpp23" id="cpp23">C++23言語機能の実装状況</a></h2>
15741574
<td>2026</td>
15751575
</tr>
15761576
<tr>
1577+
<td>P0849R8: <a href="lang/cpp23/auto_cast.html"><code>auto(x)</code>による一時オブジェクトへの変換</a></td>
1578+
<td><code>auto(x)</code>/<code>auto{x}</code>で、式の値をコピーした一時オブジェクトを得る</td>
1579+
<td>12</td>
1580+
<td>15</td>
1581+
<td>2022.2</td>
1582+
<td>2026</td>
1583+
</tr>
1584+
<tr>
15771585
<td>P1787R6: <a href="lang/cpp23/declarations_and_where_to_find_them.html">スコープと名前探索の仕様整理</a></td>
15781586
<td>複雑で不完全になっているスコープと名前探索の仕様を整理し、一部の問題を解決する</td>
15791587
<td>No</td>

lang/cpp11/auto.html

Lines changed: 3 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-25T12:11:17+09:00">
193-
2026年08月25日 12時11分17秒 (JST)
192+
datetime="2026-09-03T10:56:54+09:00">
193+
2026年09月03日 10時56分54秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -532,6 +532,7 @@ <h2><a href="#relative-page" id="relative-page">関連項目</a></h2>
532532
<li><a href="../cpp14/placeholder_type_in_trailing_return_type.html">C++14 後置戻り値型をプレースホルダーにすることを許可</a></li>
533533
<li><a href="../cpp14/return_type_deduction_for_normal_functions.html">C++14 通常関数の戻り値型推論(ユーザ定義変換関数の型推論を含む)</a></li>
534534
<li><a href="../cpp17/new_rules_for_auto_deduction_from_braced-init-list.html">C++17 単一要素の波カッコ初期化を非配列とする</a></li>
535+
<li><a href="../cpp23/auto_cast.html">C++23 <code>auto(x)</code>による一時オブジェクトへの変換</a></li>
535536
</ul>
536537
<h2>参照</h2>
537538
<ul>

lang/cpp23.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@
177177
<p class="text-right"><small>
178178
最終更新日時:
179179
<time itemprop="datePublished" class="js-local-time"
180-
datetime="2026-07-21T15:10:52+09:00">
181-
2026年07月21日 15時10分52秒 (JST)
180+
datetime="2026-09-03T10:56:54+09:00">
181+
2026年09月03日 10時56分54秒 (JST)
182182
</time>
183183
<br/>
184184
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
185-
<span itemprop="name">rotarymars</span>
185+
<span itemprop="name">Akira Takahashi</span>
186186
</span>
187187
が更新
188188
</small></p>
@@ -246,6 +246,10 @@ <h3>変数</h3>
246246
<td><a href="cpp23/simpler_implicit_move.html">暗黙的なムーブを簡略化</a></td>
247247
<td>参照を返す関数の<code>return</code>文で暗黙的にムーブされない問題を修正</td>
248248
</tr>
249+
<tr>
250+
<td><a href="cpp23/auto_cast.html"><code>auto(x)</code>による一時オブジェクトへの変換</a></td>
251+
<td><code>auto(x)</code>/<code>auto{x}</code>で、式の値をコピーした一時オブジェクトを得る</td>
252+
</tr>
249253
</tbody>
250254
</table>
251255
<p>これらに加えて、ライブラリ機能として<a class="cpprefjp-defined-word" data-desc="&lt;stdfloat&gt;で定義される内部表現の規定された浮動小数点数型" href="../reference/stdfloat.html">拡張浮動小数点数型</a>が定義された。<code><a href="../reference/stdfloat.html">&lt;stdfloat&gt;</a></code>を参照。</p>

lang/cpp23/auto_cast.html

Lines changed: 393 additions & 0 deletions
Large diffs are not rendered by default.

reference/chrono/make24.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ <h2>例</h2>
263263
<span class="w"> </span><span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">,</span><span class="w"> </span><span class="nb">false</span><span class="p">)</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n"><a href="duration/op_h.html">0h</a></span><span class="p">);</span>
264264

265265
<span class="w"> </span><span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">,</span><span class="w"> </span><span class="nb">true</span><span class="p">)</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">);</span>
266-
<span class="w"> </span><span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">1h</a></span><span class="p">,</span><span class="w"> </span><span class="nb">true</span><span class="p">)</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mf">1L</span><span class="n">cnVWQOmjdAtlehtTqZLHGrdABXXlbgT</span><span class="p">);</span>
266+
<span class="w"> </span><span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">1h</a></span><span class="p">,</span><span class="w"> </span><span class="nb">true</span><span class="p">)</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mi">1U</span><span class="n">YqyDgRIEyCshjbvfowrckffowZkZEgM</span><span class="p">);</span>
267267
<span class="w"> </span><span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">3h</a></span><span class="p">,</span><span class="w"> </span><span class="nb">true</span><span class="p">)</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n"><a href="duration/op_h.html">15h</a></span><span class="p">);</span>
268268
<span class="w"> </span><span class="n"><a href="../cassert/assert.html">assert</a></span><span class="p">(</span><span class="n"><span style="color:#ff0000">chrono::make24</span></span><span class="p">(</span><span class="n"><a href="duration/op_h.html">11h</a></span><span class="p">,</span><span class="w"> </span><span class="nb">true</span><span class="p">)</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n"><a href="duration/op_h.html">23h</a></span><span class="p">);</span>
269269
<span class="p">}</span>

reference/execution/execution/get_completion_scheduler.html

Lines changed: 4 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="2026-08-08T22:51:00+09:00">
205-
2026年08月08日 22時51分00秒 (JST)
204+
datetime="2026-09-03T10:56:54+09:00">
205+
2026年09月03日 10時56分54秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
209-
<span itemprop="name">rotarymars</span>
209+
<span itemprop="name">Akira Takahashi</span>
210210
</span>
211211
が更新
212212
</small></p>
@@ -344,6 +344,7 @@ <h2>関連項目</h2>
344344
<li><code><a href="set_value.html">execution::set_value</a></code></li>
345345
<li><code><a href="set_error.html">execution::set_error</a></code></li>
346346
<li><code><a href="set_stopped.html">execution::set_stopped</a></code></li>
347+
<li><a href="../../../lang/cpp23/auto_cast.html">C++23 <code>auto(x)</code>による一時オブジェクトへの変換</a></li>
347348
</ul>
348349
<h2>参照</h2>
349350
<ul>

reference/execution/execution/get_domain.html

Lines changed: 4 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="2026-06-09T16:03:31+09:00">
205-
2026年06月09日 16時03分31秒 (JST)
204+
datetime="2026-09-03T10:56:54+09:00">
205+
2026年09月03日 10時56分54秒 (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>
@@ -286,6 +286,7 @@ <h2>関連項目</h2>
286286
<ul>
287287
<li><code><a href="default_domain.html">execution::default_domain</a></code></li>
288288
<li><code><a href="get_completion_domain.html">execution::get_completion_domain</a></code></li>
289+
<li><a href="../../../lang/cpp23/auto_cast.html">C++23 <code>auto(x)</code>による一時オブジェクトへの変換</a></li>
289290
</ul>
290291
<h2>参照</h2>
291292
<ul>

reference/execution/execution/task_scheduler/schedule.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@
213213
<p class="text-right"><small>
214214
最終更新日時:
215215
<time itemprop="datePublished" class="js-local-time"
216-
datetime="2026-08-08T23:52:00+09:00">
217-
2026年08月08日 23時52分00秒 (JST)
216+
datetime="2026-09-03T10:56:54+09:00">
217+
2026年09月03日 10時56分54秒 (JST)
218218
</time>
219219
<br/>
220220
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
221-
<span itemprop="name">rotarymars</span>
221+
<span itemprop="name">Akira Takahashi</span>
222222
</span>
223223
が更新
224224
</small></p>
@@ -394,6 +394,7 @@ <h2>関連項目</h2>
394394
<li><code><a href="../schedule.html">execution::schedule</a></code></li>
395395
<li><code><a href="../bulk_chunked.html">execition::bulk_chunked</a></code></li>
396396
<li><code><a href="../bulk_unchunked.html">execition::bulk_unchunked</a></code></li>
397+
<li><a href="../../../../lang/cpp23/auto_cast.html">C++23 <code>auto(x)</code>による一時オブジェクトへの変換</a></li>
397398
</ul>
398399
<h2>参照</h2>
399400
<ul>

reference/exposition-only/decay-copy.html

Lines changed: 12 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-19T21:05:34+09:00">
193-
2026年08月19日 21時05分34秒 (JST)
192+
datetime="2026-09-03T10:56:54+09:00">
193+
2026年09月03日 10時56分54秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -272,11 +272,17 @@ <h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価
272272
<li><code>v</code><code>rvalue</code>の場合は、ムーブした<code>v</code></li>
273273
<li>それ以外の場合、コピーした<code>v</code></li>
274274
</ol>
275+
<h2>備考</h2>
276+
<p>C++23では、標準ライブラリ規定における<code>decay-copy</code>の使用箇所の多くが、言語機能の<code><a href="../../lang/cpp23/auto_cast.html">auto(x)</a></code>へ置き換えられた。<code><a href="../ranges/begin.html">std::ranges::begin</a></code>などのRangeアクセス関数オブジェクトや、<code><a href="../thread/thread.html">std::thread</a></code><code><a href="../thread/jthread.html">std::jthread</a></code>のコンストラクタがこれにあたる。<code><a href="../ranges/all.html">views::all</a></code><code><a href="../ranges/take_view.html">views::take</a></code><code><a href="../ranges/drop_view.html">views::drop</a></code><code><a href="../execution.html">&lt;execution&gt;</a></code>の規定では、引き続き<code>decay-copy</code>が使われている。</p>
275277
<h2>バージョン</h2>
276278
<h3>言語</h3>
277279
<ul>
278280
<li>C++20</li>
279281
</ul>
282+
<h2>関連項目</h2>
283+
<ul>
284+
<li><a href="../../lang/cpp23/auto_cast.html">C++23 <code>auto(x)</code>による一時オブジェクトへの変換</a></li>
285+
</ul>
280286
<h2>参照</h2>
281287
<ul>
282288
<li><a href="https://timsong-cpp.github.io/cppwp/n4861/expos.only.func" target="_blank">N4861 16.4.2.1 Exposition-only functions</a></li>
@@ -285,6 +291,10 @@ <h2>参照</h2>
285291
<li>C++23で、<code>decay-copy</code><code>convertible_to&lt;T, decay_t&lt;T&gt;&gt;</code>制約が追加され、変換できない型に対してSFINAEフレンドリー(ill-formed)になった</li>
286292
</ul>
287293
</li>
294+
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0849r8.html" target="_blank">P0849R8 <code>auto(x)</code>: decay-copy in the language</a><ul>
295+
<li>C++23で、標準ライブラリ規定における<code>decay-copy</code>の使用箇所の多くが、言語機能の<code><a href="../../lang/cpp23/auto_cast.html">auto(x)</a></code>へ置き換えられた</li>
296+
</ul>
297+
</li>
288298
</ul></div>
289299

290300
</div>

reference/ranges/adjacent_view.html

Lines changed: 3 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-17T15:03:20+09:00">
193-
2026年08月17日 15時03分20秒 (JST)
192+
datetime="2026-09-03T10:56:54+09:00">
193+
2026年09月03日 10時56分54秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -430,6 +430,7 @@ <h2>関連項目</h2>
430430
<ul>
431431
<li><code><a href="adjacent_transform_view.html">adjacent_transform_view</a></code>: <code>adjacent_view</code> と同じように要素を取得して関数を適用する</li>
432432
<li><code><a href="slide_view.html">slide_view</a></code>: <code>adjacent_view</code> と同じように要素を取得するが、個数を実行時に指定する。内側は<code><a href="../tuple/tuple.html">tuple</a></code>ではなく<code><a href="view.html">view</a></code>となる</li>
433+
<li><a href="../../lang/cpp23/auto_cast.html">C++23 <code>auto(x)</code>による一時オブジェクトへの変換</a></li>
433434
</ul>
434435
<h2>参照</h2>
435436
<ul>

0 commit comments

Comments
 (0)