Skip to content

Commit 3cc89d3

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent f9fcf68 commit 3cc89d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+18287
-567
lines changed

lang/cpp26.html

Lines changed: 27 additions & 23 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="2025-09-22T08:59:17">
180-
2025年09月22日 08時59分17秒
179+
<span itemprop="datePublished" content="2025-10-10T04:00:13">
180+
2025年10月10日 04時00分13秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -719,30 +719,34 @@ <h3>並行・並列・非同期処理</h3>
719719
</li>
720720
<li><code><a href="../reference/atomic/atomic.html">std::atomic</a></code>クラスと<code><a href="../reference/atomic/atomic_ref.html">std::atomic_ref</a></code>クラスに、現在の値を読み込まず (fetchせず) に加算などをする高速な縮約用の操作として、以下を追加<ul>
721721
<li>メンバ関数<ul>
722-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic/store_add.md.nolink">store_add()</span></code></li>
723-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic/store_sub.md.nolink">store_sub()</span></code></li>
724-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic/store_and.md.nolink">store_and()</span></code></li>
725-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic/store_or.md.nolink">store_or()</span></code></li>
726-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic/store_xor.md.nolink">store_xor()</span></code></li>
727-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic/store_max.md.nolink">store_max()</span></code></li>
728-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic/store_min.md.nolink">store_min()</span></code></li>
722+
<li><code><a href="../reference/atomic/atomic/store_add.html">store_add()</a></code></li>
723+
<li><code><a href="../reference/atomic/atomic/store_sub.html">store_sub()</a></code></li>
724+
<li><code><a href="../reference/atomic/atomic/store_and.html">store_and()</a></code></li>
725+
<li><code><a href="../reference/atomic/atomic/store_or.html">store_or()</a></code></li>
726+
<li><code><a href="../reference/atomic/atomic/store_xor.html">store_xor()</a></code></li>
727+
<li><code><a href="../reference/atomic/atomic/store_max.html">store_max()</a></code></li>
728+
<li><code><a href="../reference/atomic/atomic/store_min.html">store_min()</a></code></li>
729+
<li><code><a href="../reference/atomic/atomic/store_fmaximum.html">store_fmaximum()</a></code> (浮動小数点数用)</li>
730+
<li><code><a href="../reference/atomic/atomic/store_fminimum.html">store_fminimum()</a></code> (浮動小数点数用)</li>
731+
<li><code><a href="../reference/atomic/atomic/store_fmaximum_num.html">store_fmaximum_num()</a></code> (浮動小数点数用)</li>
732+
<li><code><a href="../reference/atomic/atomic/store_fminimum_num.html">store_fminimum_num()</a></code> (浮動小数点数用)</li>
729733
</ul>
730734
</li>
731735
<li>非メンバ関数<ul>
732-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_add.md.nolink">std::atomic_store_add()</span></code></li>
733-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_add_explicit.md.nolink">std::atomic_store_add_explicit()</span></code></li>
734-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_sub.md.nolink">std::atomic_store_sub()</span></code></li>
735-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_sub_explicit.md.nolink">std::atomic_store_sub_explicit()</span></code></li>
736-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_and.md.nolink">std::atomic_store_and()</span></code></li>
737-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_and_explicit.md.nolink">std::atomic_store_and_explicit()</span></code></li>
738-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_or.md.nolink">std::atomic_store_or()</span></code></li>
739-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_or_explicit.md.nolink">std::atomic_store_or_explicit()</span></code></li>
740-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_xor.md.nolink">std::atomic_store_xor()</span></code></li>
741-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_xor_explicit.md.nolink">std::atomic_store_xor_explicit()</span></code></li>
742-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_max.md.nolink">std::atomic_store_max()</span></code></li>
743-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_max_explicit.md.nolink">std::atomic_store_max_explicit()</span></code></li>
744-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_min.md.nolink">std::atomic_store_min()</span></code></li>
745-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_min_explicit.md.nolink">std::atomic_store_min_explicit()</span></code></li>
736+
<li><code><a href="../reference/atomic/atomic_store_add.html">std::atomic_store_add()</a></code></li>
737+
<li><code><a href="../reference/atomic/atomic_store_add_explicit.html">std::atomic_store_add_explicit()</a></code></li>
738+
<li><code><a href="../reference/atomic/atomic_store_sub.html">std::atomic_store_sub()</a></code></li>
739+
<li><code><a href="../reference/atomic/atomic_store_sub_explicit.html">std::atomic_store_sub_explicit()</a></code></li>
740+
<li><code><a href="../reference/atomic/atomic_store_and.html">std::atomic_store_and()</a></code></li>
741+
<li><code><a href="../reference/atomic/atomic_store_and_explicit.html">std::atomic_store_and_explicit()</a></code></li>
742+
<li><code><a href="../reference/atomic/atomic_store_or.html">std::atomic_store_or()</a></code></li>
743+
<li><code><a href="../reference/atomic/atomic_store_or_explicit.html">std::atomic_store_or_explicit()</a></code></li>
744+
<li><code><a href="../reference/atomic/atomic_store_xor.html">std::atomic_store_xor()</a></code></li>
745+
<li><code><a href="../reference/atomic/atomic_store_xor_explicit.html">std::atomic_store_xor_explicit()</a></code></li>
746+
<li><code><a href="../reference/atomic/atomic_store_max.html">std::atomic_store_max()</a></code></li>
747+
<li><code><a href="../reference/atomic/atomic_store_max_explicit.html">std::atomic_store_max_explicit()</a></code></li>
748+
<li><code><a href="../reference/atomic/atomic_store_min.html">std::atomic_store_min()</a></code></li>
749+
<li><code><a href="../reference/atomic/atomic_store_min_explicit.html">std::atomic_store_min_explicit()</a></code></li>
746750
</ul>
747751
</li>
748752
</ul>

reference/atomic.html

Lines changed: 90 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@
176176

177177
<p class="text-right"><small>
178178
最終更新日時(UTC):
179-
<span itemprop="datePublished" content="2025-07-25T10:26:24">
180-
2025年07月25日 10時26分24秒
179+
<span itemprop="datePublished" content="2025-10-10T04:00:13">
180+
2025年10月10日 04時00分13秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
184-
<span itemprop="name">yoh</span>
184+
<span itemprop="name">Akira Takahashi</span>
185185
</span>
186186
が更新
187187
</small></p>
@@ -390,6 +390,7 @@ <h2>アトミック型に対する一般的な操作</h2>
390390
</tbody>
391391
</table>
392392
<h2>アトミック型に対する算術操作</h2>
393+
<h3>値を読み込んで算術操作</h3>
393394
<table border="1" bordercolor="#888" style="border-collapse:collapse">
394395
<thead>
395396
<tr>
@@ -451,22 +452,104 @@ <h2>アトミック型に対する算術操作</h2>
451452
</tr>
452453
<tr>
453454
<td><code><a href="atomic/atomic_fetch_max.html">atomic_fetch_max</a></code></td>
454-
<td>最大値取得(function template)</td>
455+
<td>最大値を設定・取得(function template)</td>
455456
<td>C++26</td>
456457
</tr>
457458
<tr>
458459
<td><code><a href="atomic/atomic_fetch_max_explicit.html">atomic_fetch_max_explicit</a></code></td>
459-
<td>メモリオーダーを指定して最大値取得(function template)</td>
460+
<td>メモリオーダーを指定して最大値を設定・取得(function template)</td>
460461
<td>C++26</td>
461462
</tr>
462463
<tr>
463464
<td><code><a href="atomic/atomic_fetch_min.html">atomic_fetch_min</a></code></td>
464-
<td>最小値取得(function template)</td>
465+
<td>最小値を設定・取得(function template)</td>
465466
<td>C++26</td>
466467
</tr>
467468
<tr>
468469
<td><code><a href="atomic/atomic_fetch_min_explicit.html">atomic_fetch_min_explicit</a></code></td>
469-
<td>メモリオーダーを指定して最小値取得(function template)</td>
470+
<td>メモリオーダーを指定して最小値を設定・取得(function template)</td>
471+
<td>C++26</td>
472+
</tr>
473+
</tbody>
474+
</table>
475+
<h3>値を読み込まずに算術操作</h3>
476+
<table border="1" bordercolor="#888" style="border-collapse:collapse">
477+
<thead>
478+
<tr>
479+
<th>名前</th>
480+
<th>説明</th>
481+
<th>対応バージョン</th>
482+
</tr>
483+
</thead>
484+
<tbody>
485+
<tr>
486+
<td><code><a href="atomic/atomic_store_add.html">atomic_store_add</a></code></td>
487+
<td>値を読み込まずに加算(function template)</td>
488+
<td>C++26</td>
489+
</tr>
490+
<tr>
491+
<td><code><a href="atomic/atomic_store_add_explicit.html">atomic_store_add_explicit</a></code></td>
492+
<td>メモリオーダーを指定して値を読み込まずに加算(function template)</td>
493+
<td>C++26</td>
494+
</tr>
495+
<tr>
496+
<td><code><a href="atomic/atomic_store_sub.html">atomic_store_sub</a></code></td>
497+
<td>値を読み込まずに減算(function template)</td>
498+
<td>C++26</td>
499+
</tr>
500+
<tr>
501+
<td><code><a href="atomic/atomic_store_sub_explicit.html">atomic_store_sub_explicit</a></code></td>
502+
<td>メモリオーダーを指定して値を読み込まずに減算(function template)</td>
503+
<td>C++26</td>
504+
</tr>
505+
<tr>
506+
<td><code><a href="atomic/atomic_store_and.html">atomic_store_and</a></code></td>
507+
<td>値を読み込まずにAND演算(function template)</td>
508+
<td>C++26</td>
509+
</tr>
510+
<tr>
511+
<td><code><a href="atomic/atomic_store_and_explicit.html">atomic_store_and_explicit</a></code></td>
512+
<td>メモリオーダーを指定して値を読み込まずにAND演算(function template)</td>
513+
<td>C++26</td>
514+
</tr>
515+
<tr>
516+
<td><code><a href="atomic/atomic_store_or.html">atomic_store_or</a></code></td>
517+
<td>値を読み込まずにOR演算(function template)</td>
518+
<td>C++26</td>
519+
</tr>
520+
<tr>
521+
<td><code><a href="atomic/atomic_store_or_explicit.html">atomic_store_or_explicit</a></code></td>
522+
<td>メモリオーダーを指定して値を読み込まずにOR演算(function template)</td>
523+
<td>C++26</td>
524+
</tr>
525+
<tr>
526+
<td><code><a href="atomic/atomic_store_xor.html">atomic_store_xor</a></code></td>
527+
<td>値を読み込まずにXOR演算(function template)</td>
528+
<td>C++26</td>
529+
</tr>
530+
<tr>
531+
<td><code><a href="atomic/atomic_store_xor_explicit.html">atomic_store_xor_explicit</a></code></td>
532+
<td>メモリオーダーを指定して値を読み込まずにXOR演算(function template)</td>
533+
<td>C++26</td>
534+
</tr>
535+
<tr>
536+
<td><code><a href="atomic/atomic_store_max.html">atomic_store_max</a></code></td>
537+
<td>値を読み込まずに最大値を設定(function template)</td>
538+
<td>C++26</td>
539+
</tr>
540+
<tr>
541+
<td><code><a href="atomic/atomic_store_max_explicit.html">atomic_store_max_explicit</a></code></td>
542+
<td>メモリオーダーを指定して値を読み込まずに最大値を設定(function template)</td>
543+
<td>C++26</td>
544+
</tr>
545+
<tr>
546+
<td><code><a href="atomic/atomic_store_min.html">atomic_store_min</a></code></td>
547+
<td>値を読み込まずに最小値を設定(function template)</td>
548+
<td>C++26</td>
549+
</tr>
550+
<tr>
551+
<td><code><a href="atomic/atomic_store_min_explicit.html">atomic_store_min_explicit</a></code></td>
552+
<td>メモリオーダーを指定して値を読み込まずに最小値を設定(function template)</td>
470553
<td>C++26</td>
471554
</tr>
472555
</tbody>

reference/atomic/atomic.html

Lines changed: 112 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="2025-09-22T08:59:17">
192-
2025年09月22日 08時59分17秒
191+
<span itemprop="datePublished" content="2025-10-10T04:00:13">
192+
2025年10月10日 04時00分13秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -708,6 +708,41 @@ <h3>atomic&lt;integral&gt;専用メンバ関数</h3>
708708
<td>C++26</td>
709709
</tr>
710710
<tr>
711+
<td><code><a href="atomic/store_add.html">store_add</a></code></td>
712+
<td>値を読み込まずに加算</td>
713+
<td>C++26</td>
714+
</tr>
715+
<tr>
716+
<td><code><a href="atomic/store_sub.html">store_sub</a></code></td>
717+
<td>値を読み込まずに減算</td>
718+
<td>C++26</td>
719+
</tr>
720+
<tr>
721+
<td><code><a href="atomic/store_and.html">store_and</a></code></td>
722+
<td>値を読み込まずにAND演算</td>
723+
<td>C++26</td>
724+
</tr>
725+
<tr>
726+
<td><code><a href="atomic/store_or.html">store_or</a></code></td>
727+
<td>値を読み込まずにOR演算</td>
728+
<td>C++26</td>
729+
</tr>
730+
<tr>
731+
<td><code><a href="atomic/store_xor.html">store_xor</a></code></td>
732+
<td>値を読み込まずにXOR演算</td>
733+
<td>C++26</td>
734+
</tr>
735+
<tr>
736+
<td><code><a href="atomic/store_max.html">store_max</a></code></td>
737+
<td>値を読み込まずに最大値を設定</td>
738+
<td>C++26</td>
739+
</tr>
740+
<tr>
741+
<td><code><a href="atomic/store_min.html">store_min</a></code></td>
742+
<td>値を読み込まずに最小値を設定</td>
743+
<td>C++26</td>
744+
</tr>
745+
<tr>
711746
<td><code><a href="atomic/op_increment.html">operator++</a></code></td>
712747
<td>インクリメント</td>
713748
<td>C++11</td>
@@ -813,6 +848,61 @@ <h3>atomic&lt;floating-point&gt;専用メンバ関数</h3>
813848
<td>C++26</td>
814849
</tr>
815850
<tr>
851+
<td><code><a href="atomic/store_add.html">store_add</a></code></td>
852+
<td>値を読み込まずに加算</td>
853+
<td>C++26</td>
854+
</tr>
855+
<tr>
856+
<td><code><a href="atomic/store_sub.html">store_sub</a></code></td>
857+
<td>値を読み込まずに減算</td>
858+
<td>C++26</td>
859+
</tr>
860+
<tr>
861+
<td><code><a href="atomic/store_and.html">store_and</a></code></td>
862+
<td>値を読み込まずにAND演算</td>
863+
<td>C++26</td>
864+
</tr>
865+
<tr>
866+
<td><code><a href="atomic/store_or.html">store_or</a></code></td>
867+
<td>値を読み込まずにOR演算</td>
868+
<td>C++26</td>
869+
</tr>
870+
<tr>
871+
<td><code><a href="atomic/store_xor.html">store_xor</a></code></td>
872+
<td>値を読み込まずにXOR演算</td>
873+
<td>C++26</td>
874+
</tr>
875+
<tr>
876+
<td><code><a href="atomic/store_max.html">store_max</a></code></td>
877+
<td>値を読み込まずに最大値を設定</td>
878+
<td>C++26</td>
879+
</tr>
880+
<tr>
881+
<td><code><a href="atomic/store_min.html">store_min</a></code></td>
882+
<td>値を読み込まずに最小値を設定</td>
883+
<td>C++26</td>
884+
</tr>
885+
<tr>
886+
<td><code><a href="atomic/store_fmaximum.html">store_fmaximum</a></code></td>
887+
<td>値を読み込まずに最大値を設定 (<code>-0.0</code><code>+0.0</code>では<code>+0.0</code>、NaNと値ではNaNを返す)</td>
888+
<td>C++26</td>
889+
</tr>
890+
<tr>
891+
<td><code><a href="atomic/store_fminimum.html">store_fminimum</a></code></td>
892+
<td>値を読み込まずに最小値を設定 (<code>-0.0</code><code>+0.0</code>では<code>-0.0</code>、NaNと値ではNaNを返す)</td>
893+
<td>C++26</td>
894+
</tr>
895+
<tr>
896+
<td><code><a href="atomic/store_fmaximum_num.html">store_fmaximum_num</a></code></td>
897+
<td></td>
898+
<td>値を読み込まずに最大値を設定 (<code>-0.0</code><code>+0.0</code>では<code>+0.0</code>、NaNと値では数値を返す)</td>
899+
</tr>
900+
<tr>
901+
<td><code><a href="atomic/store_fminimum_num.html">store_fminimum_num</a></code></td>
902+
<td>値を読み込まずに最小値を設定 (<code>-0.0</code><code>+0.0</code>では<code>-0.0</code>、NaNと値では数値を返す)</td>
903+
<td>C++26</td>
904+
</tr>
905+
<tr>
816906
<td><code><a href="atomic/op_plus_assign.html">operator+=</a></code></td>
817907
<td>加算</td>
818908
<td>C++20</td>
@@ -873,6 +963,26 @@ <h3>atomic&lt;T*&gt;専用メンバ関数</h3>
873963
<td>C++26</td>
874964
</tr>
875965
<tr>
966+
<td><code><a href="atomic/store_add.html">store_add</a></code></td>
967+
<td>値を読み込まずに加算</td>
968+
<td>C++26</td>
969+
</tr>
970+
<tr>
971+
<td><code><a href="atomic/store_sub.html">store_sub</a></code></td>
972+
<td>値を読み込まずに減算</td>
973+
<td>C++26</td>
974+
</tr>
975+
<tr>
976+
<td><code><a href="atomic/store_max.html">store_max</a></code></td>
977+
<td>値を読み込まずに最大値を設定</td>
978+
<td>C++26</td>
979+
</tr>
980+
<tr>
981+
<td><code><a href="atomic/store_min.html">store_min</a></code></td>
982+
<td>値を読み込まずに最小値を設定</td>
983+
<td>C++26</td>
984+
</tr>
985+
<tr>
876986
<td><code><a href="atomic/op_increment.html">operator++</a></code></td>
877987
<td>インクリメント</td>
878988
<td>C++11</td>

reference/atomic/atomic/fetch_and.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2024-12-23T07:58:47">
204-
2024年12月23日 07時58分47秒
203+
<span itemprop="datePublished" content="2025-10-10T04:00:13">
204+
2025年10月10日 04時00分13秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -244,10 +244,6 @@ <h2>概要</h2>
244244
<p>AND演算を行う</p>
245245
<h2><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Constraints。関数であればオーバーロード解決に参加するための条件、それ以外であれば受け付ける型の条件">テンプレートパラメータ制約</a></h2>
246246
<ul>
247-
<li>(1), (2) :<ul>
248-
<li>C++17 : <code>std::atomic&lt;T*&gt;</code>の場合、型<code>T</code>がオブジェクト型であること。型<code>T</code><code>void*</code>や関数ポインタであってはならない</li>
249-
</ul>
250-
</li>
251247
<li>(1) :<ul>
252248
<li>C++20 : <code>atomic&lt;T&gt;::is_always_lock_free</code><code>true</code>であること</li>
253249
</ul>

reference/atomic/atomic/fetch_fmaximum.html

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

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2025-09-22T08:59:17">
204-
2025年09月22日 08時59分17秒
203+
<span itemprop="datePublished" content="2025-10-10T04:00:13">
204+
2025年10月10日 04時00分13秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -228,7 +228,7 @@
228228
<div itemprop="articleBody"><p><div class="codehilite"><pre><span></span><code><span class="k">constexpr</span> <span class="n">T</span>
229229
<span class="nf">fetch_fmaximum</span><span class="p">(</span><span class="n">difference_type</span> <span class="n">operand</span><span class="p">,</span>
230230
<span class="n"><a href="../memory_order.html">memory_order</a></span> <span class="n">order</span> <span class="o">=</span> <span class="n"><a href="../memory_order.html">memory_order_seq_cst</a></span>
231-
<span class="p">)</span> <span class="k">const</span> <span class="k">noexcept</span><span class="p">;</span> <span class="c1">// (1) C++26</span>
231+
<span class="p">)</span> <span class="k">noexcept</span><span class="p">;</span> <span class="c1">// (1) C++26</span>
232232
</code></pre></div>
233233
</p>
234234
<h2>概要</h2>

0 commit comments

Comments
 (0)