Skip to content

Commit c243c20

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 21d28d2 commit c243c20

23 files changed

+1970
-113
lines changed

lang/cpp26.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176

177177
<p class="text-right"><small>
178178
最終更新日時(UTC):
179-
<span itemprop="datePublished" content="2024-07-31T06:11:19">
180-
2024年07月31日 06時11分19秒
179+
<span itemprop="datePublished" content="2024-08-02T05:07:35">
180+
2024年08月02日 05時07分35秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -436,7 +436,7 @@ <h3>スマートポインタ</h3>
436436
</ul>
437437
<h3>日付・時間</h3>
438438
<ul>
439-
<li><code><a href="../reference/chrono.html">&lt;chrono&gt;</a></code>の以下のクラスに<code><a href="../reference/functional/hash.html">std::hash</a></code>のサポートを追加<ul>
439+
<li><code><a href="../reference/chrono.html">&lt;chrono&gt;</a></code>の以下のクラスに、ハッシュ値サポートとして<code><a href="../reference/functional/hash.html">std::hash</a></code>の特殊化を追加<ul>
440440
<li><code><a href="../reference/chrono/duration.html">std::chrono::duration</a></code></li>
441441
<li><code><a href="../reference/chrono/time_point.html">std::chrono::time_point</a></code></li>
442442
<li><code><a href="../reference/chrono/day.html">std::chrono::day</a></code></li>

reference/chrono/day.html

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-08-02T05:07:35">
192+
2024年08月02日 05時07分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -443,7 +443,7 @@ <h3>リテラル</h3>
443443
</tr>
444444
</tbody>
445445
</table>
446-
<h2>文字列フォーマット</h2>
446+
<h2>文字列フォーマットサポート</h2>
447447
<table border="1" bordercolor="#888" style="border-collapse:collapse">
448448
<thead>
449449
<tr>
@@ -460,6 +460,28 @@ <h2>文字列フォーマット</h2>
460460
</tr>
461461
</tbody>
462462
</table>
463+
<h2>ハッシュサポート</h2>
464+
<table border="1" bordercolor="#888" style="border-collapse:collapse">
465+
<thead>
466+
<tr>
467+
<th>名前</th>
468+
<th>説明</th>
469+
<th>対応バージョン</th>
470+
</tr>
471+
</thead>
472+
<tbody>
473+
<tr>
474+
<td><code>template &lt;class T&gt; struct hash;</code></td>
475+
<td><code>hash</code>クラスの先行宣言</td>
476+
<td>C++26</td>
477+
</tr>
478+
<tr>
479+
<td><code>template&lt;&gt; struct hash&lt;chrono::day&gt;;</code></td>
480+
<td><code>hash</code>クラスの<code>day</code>に対する特殊化</td>
481+
<td>C++26</td>
482+
</tr>
483+
</tbody>
484+
</table>
463485
<h2></h2>
464486
<p><div class="yata" id="40846d034e4ee3848ccfb406c2ebec64608912df"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../iostream.html">&lt;iostream&gt;</a></span><span class="cp"></span>
465487
<span class="cp">#include</span> <span class="cpf"><a href="../chrono.html">&lt;chrono&gt;</a></span><span class="cp"></span>
@@ -496,6 +518,13 @@ <h3>処理系</h3>
496518
<li><a href="../../implementation.html#clang">Clang</a>: 8.0 (入出力ストリームなし) <span aria-label="検証済" role="img" title="検証済"></span></li>
497519
<li><a href="../../implementation.html#gcc">GCC</a>: 9.2 <span aria-label="未実装" role="img" title="未実装"></span></li>
498520
<li><a href="../../implementation.html#visual_cpp">Visual C++</a>: 2019 Update 3 <span aria-label="未実装" role="img" title="未実装"></span></li>
521+
</ul>
522+
<h2>参照</h2>
523+
<ul>
524+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2592r3.html" target="_blank">P2592R3 Hashing support for <code>std::chrono</code> value classes</a><ul>
525+
<li>C++26でハッシュサポートが追加された</li>
526+
</ul>
527+
</li>
499528
</ul></div>
500529

501530
</div>

reference/chrono/duration.html

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-08-02T05:07:35">
192+
2024年08月02日 05時07分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -635,7 +635,7 @@ <h3>リテラル</h3>
635635
</tr>
636636
</tbody>
637637
</table>
638-
<h2>特殊化</h2>
638+
<h2>共通型サポート</h2>
639639
<table border="1" bordercolor="#888" style="border-collapse:collapse">
640640
<thead>
641641
<tr>
@@ -647,16 +647,50 @@ <h2>特殊化</h2>
647647
<tbody>
648648
<tr>
649649
<td><code><a href="common_type.html">common_type</a></code></td>
650-
<td>異なる<code>duration</code>間の共通の型を求める</td>
650+
<td>異なる<code>duration</code>間の共通の型を求める<code><a href="../type_traits/common_type.html">std::common_type</a></code>の特殊化</td>
651651
<td>C++11</td>
652652
</tr>
653+
</tbody>
654+
</table>
655+
<h2>文字列フォーマットサポート</h2>
656+
<table border="1" bordercolor="#888" style="border-collapse:collapse">
657+
<thead>
658+
<tr>
659+
<th>名前</th>
660+
<th>説明</th>
661+
<th>対応バージョン</th>
662+
</tr>
663+
</thead>
664+
<tbody>
653665
<tr>
654666
<td><code><a href="duration/formatter.html">formatter</a></code></td>
655-
<td><code><a href="../format/formatter.html">std::formatter</a></code>クラスの特殊化。文字列フォーマットの許可</td>
667+
<td>文字列フォーマットの許可。<code><a href="../format/formatter.html">std::formatter</a></code>クラスの特殊化</td>
656668
<td>C++20</td>
657669
</tr>
658670
</tbody>
659671
</table>
672+
<h2>ハッシュサポート</h2>
673+
<table border="1" bordercolor="#888" style="border-collapse:collapse">
674+
<thead>
675+
<tr>
676+
<th>名前</th>
677+
<th>説明</th>
678+
<th>対応バージョン</th>
679+
</tr>
680+
</thead>
681+
<tbody>
682+
<tr>
683+
<td><code>template &lt;class T&gt; struct hash;</code></td>
684+
<td><code>hash</code>クラスの先行宣言</td>
685+
<td>C++26</td>
686+
</tr>
687+
<tr>
688+
<td><code>template&lt;class Rep, class Period&gt;</code><br /> <code>struct hash&lt;chrono::duration&lt;Rep, Period&gt;&gt;;</code></td>
689+
<td><code>hash</code>クラスの<code>duration</code>に対する特殊化。<code>hash&lt;Rep&gt;</code>が有効な場合のみ有効</td>
690+
<td>C++26</td>
691+
</tr>
692+
</tbody>
693+
</table>
660694
<h2></h2>
661695
<p><div class="yata" id="98274dd16b366a9d0d4ad8b1833bc3815c629813"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../iostream.html">&lt;iostream&gt;</a></span><span class="cp"></span>
662696
<span class="cp">#include</span> <span class="cpf"><a href="../chrono.html">&lt;chrono&gt;</a></span><span class="cp"></span>
@@ -707,7 +741,13 @@ <h3>処理系</h3>
707741
<li><a href="../../implementation.html#gcc">GCC</a>: 4.7.0 <span aria-label="検証済" role="img" title="検証済"></span></li>
708742
<li><a href="../../implementation.html#visual_cpp">Visual C++</a>: 2012 <span aria-label="検証済" role="img" title="検証済"></span>, 2013 <span aria-label="検証済" role="img" title="検証済"></span>, 2015 <span aria-label="検証済" role="img" title="検証済"></span></li>
709743
</ul>
710-
<h2>参照</h2></div>
744+
<h2>参照</h2>
745+
<ul>
746+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2592r3.html" target="_blank">P2592R3 Hashing support for <code>std::chrono</code> value classes</a><ul>
747+
<li>C++26でハッシュサポートが追加された</li>
748+
</ul>
749+
</li>
750+
</ul></div>
711751

712752
</div>
713753
</div>

reference/chrono/leap_second.html

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-08-02T05:07:35">
192+
2024年08月02日 05時07分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -314,6 +314,28 @@ <h3>比較演算</h3>
314314
</tr>
315315
</tbody>
316316
</table>
317+
<h2>ハッシュサポート</h2>
318+
<table border="1" bordercolor="#888" style="border-collapse:collapse">
319+
<thead>
320+
<tr>
321+
<th>名前</th>
322+
<th>説明</th>
323+
<th>対応バージョン</th>
324+
</tr>
325+
</thead>
326+
<tbody>
327+
<tr>
328+
<td><code>template &lt;class T&gt; struct hash;</code></td>
329+
<td><code>hash</code>クラスの先行宣言</td>
330+
<td>C++26</td>
331+
</tr>
332+
<tr>
333+
<td><code>template&lt;&gt; struct hash&lt;chrono::leap_second&gt;;</code></td>
334+
<td><code>hash</code>クラスの<code>leap_second</code>に対する特殊化</td>
335+
<td>C++26</td>
336+
</tr>
337+
</tbody>
338+
</table>
317339
<h2></h2>
318340
<p><div class="yata" id="02b41b94b9047a953092e8f71f06361d67fb61c9"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../iostream.html">&lt;iostream&gt;</a></span><span class="cp"></span>
319341
<span class="cp">#include</span> <span class="cpf"><a href="../chrono.html">&lt;chrono&gt;</a></span><span class="cp"></span>
@@ -383,6 +405,10 @@ <h2>参照</h2>
383405
</ul>
384406
</li>
385407
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2117r0.html#3359" target="_blank">LWG Issue 3359. <code>&lt;chrono&gt;</code> leap second support should allow for negative leap seconds</a></li>
408+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2592r3.html" target="_blank">P2592R3 Hashing support for <code>std::chrono</code> value classes</a><ul>
409+
<li>C++26でハッシュサポートが追加された</li>
410+
</ul>
411+
</li>
386412
</ul></div>
387413

388414
</div>

reference/chrono/make24.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h2>例</h2>
239239
<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="nb">false</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">0h</a></span><span class="p">);</span>
240240

241241
<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="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">12h</a></span><span class="p">);</span>
242-
<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="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span><span class="n"><a href="duration/op_h.html">3h</a></span><span class="p">);</span>
242+
<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="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1L</span><span class="n">SuOgYlxTHLlGwnyjhJOQoeWmgPwzelT</span><span class="p">);</span>
243243
<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="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">15h</a></span><span class="p">);</span>
244244
<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="nb">true</span><span class="p">)</span> <span class="o">==</span> <span class="n"><a href="duration/op_h.html">23h</a></span><span class="p">);</span>
245245
<span class="p">}</span>

reference/chrono/month.html

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-08-02T05:07:35">
192+
2024年08月02日 05時07分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -425,7 +425,7 @@ <h3>入出力</h3>
425425
</tr>
426426
</tbody>
427427
</table>
428-
<h2>文字列フォーマット</h2>
428+
<h2>文字列フォーマットサポート</h2>
429429
<table border="1" bordercolor="#888" style="border-collapse:collapse">
430430
<thead>
431431
<tr>
@@ -442,6 +442,28 @@ <h2>文字列フォーマット</h2>
442442
</tr>
443443
</tbody>
444444
</table>
445+
<h2>ハッシュサポート</h2>
446+
<table border="1" bordercolor="#888" style="border-collapse:collapse">
447+
<thead>
448+
<tr>
449+
<th>名前</th>
450+
<th>説明</th>
451+
<th>対応バージョン</th>
452+
</tr>
453+
</thead>
454+
<tbody>
455+
<tr>
456+
<td><code>template &lt;class T&gt; struct hash;</code></td>
457+
<td><code>hash</code>クラスの先行宣言</td>
458+
<td>C++26</td>
459+
</tr>
460+
<tr>
461+
<td><code>template&lt;&gt; struct hash&lt;chrono::month&gt;;</code></td>
462+
<td><code>hash</code>クラスの<code>month</code>に対する特殊化</td>
463+
<td>C++26</td>
464+
</tr>
465+
</tbody>
466+
</table>
445467
<h2></h2>
446468
<p><div class="yata" id="62935b39095fe6aa3b79bc9b569be47fcb09315f"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../iostream.html">&lt;iostream&gt;</a></span><span class="cp"></span>
447469
<span class="cp">#include</span> <span class="cpf"><a href="../chrono.html">&lt;chrono&gt;</a></span><span class="cp"></span>
@@ -477,6 +499,13 @@ <h3>処理系</h3>
477499
<h2>関連項目</h2>
478500
<ul>
479501
<li><a href="month_constants.html">月の定数</a></li>
502+
</ul>
503+
<h2>参照</h2>
504+
<ul>
505+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2592r3.html" target="_blank">P2592R3 Hashing support for <code>std::chrono</code> value classes</a><ul>
506+
<li>C++26でハッシュサポートが追加された</li>
507+
</ul>
508+
</li>
480509
</ul></div>
481510

482511
</div>

reference/chrono/month_day.html

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-08-02T05:07:35">
192+
2024年08月02日 05時07分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -371,7 +371,7 @@ <h3>入出力</h3>
371371
</tr>
372372
</tbody>
373373
</table>
374-
<h2>文字列フォーマット</h2>
374+
<h2>文字列フォーマットサポート</h2>
375375
<table border="1" bordercolor="#888" style="border-collapse:collapse">
376376
<thead>
377377
<tr>
@@ -388,6 +388,28 @@ <h2>文字列フォーマット</h2>
388388
</tr>
389389
</tbody>
390390
</table>
391+
<h2>ハッシュサポート</h2>
392+
<table border="1" bordercolor="#888" style="border-collapse:collapse">
393+
<thead>
394+
<tr>
395+
<th>名前</th>
396+
<th>説明</th>
397+
<th>対応バージョン</th>
398+
</tr>
399+
</thead>
400+
<tbody>
401+
<tr>
402+
<td><code>template &lt;class T&gt; struct hash;</code></td>
403+
<td><code>hash</code>クラスの先行宣言</td>
404+
<td>C++26</td>
405+
</tr>
406+
<tr>
407+
<td><code>template&lt;&gt; struct hash&lt;chrono::month_day&gt;;</code></td>
408+
<td><code>hash</code>クラスの<code>month_day</code>に対する特殊化</td>
409+
<td>C++26</td>
410+
</tr>
411+
</tbody>
412+
</table>
391413
<h2></h2>
392414
<p><div class="yata" id="1999ef9aadab7296bec2bcafe8167ce4c6ae6111"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../iostream.html">&lt;iostream&gt;</a></span><span class="cp"></span>
393415
<span class="cp">#include</span> <span class="cpf"><a href="../chrono.html">&lt;chrono&gt;</a></span><span class="cp"></span>
@@ -432,6 +454,13 @@ <h3>処理系</h3>
432454
<li><a href="../../implementation.html#clang">Clang</a>: 8.0 (入出力ストリームなし) <span aria-label="検証済" role="img" title="検証済"></span></li>
433455
<li><a href="../../implementation.html#gcc">GCC</a>: 9.2 <span aria-label="未実装" role="img" title="未実装"></span></li>
434456
<li><a href="../../implementation.html#visual_cpp">Visual C++</a>: 2019 Update 3 <span aria-label="未実装" role="img" title="未実装"></span></li>
457+
</ul>
458+
<h2>参照</h2>
459+
<ul>
460+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2592r3.html" target="_blank">P2592R3 Hashing support for <code>std::chrono</code> value classes</a><ul>
461+
<li>C++26でハッシュサポートが追加された</li>
462+
</ul>
463+
</li>
435464
</ul></div>
436465

437466
</div>

0 commit comments

Comments
 (0)