Skip to content

Commit 064d81c

Browse files
Preview PR 1535: 846ba6d261aa4e
1 parent 8803d5c commit 064d81c

29 files changed

Lines changed: 7847 additions & 377 deletions

gen/pull/1535/PREVIEW.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
# PR [\#1535](https://github.com/cpprefjp/site/pull/1535) プレビュー
2-
- ⌚ 更新時刻: 2025-10-09 16:10:32 JST
2+
- ⌚ 更新時刻: 2025-10-09 19:58:25 JST
33
- 🔍 [プレビュー (HTML)](https://cpprefjp.github.io/site/gen/pull/1535)
44
- 📈 [プレビュー生成記録](https://github.com/cpprefjp/site/actions?query=event%3Apull_request_target+branch%3Aatomic_reduction)
5-
- **⫯** ソースの変更: [`261aa4e..46574a9`](https://github.com/cpprefjp/site/compare/261aa4ea914d3b0e3368954303e27c94ad616c57..46574a949df981f2794fc338ba6d406bff0223e2)
5+
- **⫯** ソースの変更: [`261aa4e..846ba6d`](https://github.com/cpprefjp/site/compare/261aa4ea914d3b0e3368954303e27c94ad616c57..846ba6d82618bcd39a2765cb612eb01d94dd877d)
66

7-
## 変更記事一覧 (31件)
7+
## 変更記事一覧 (53件)
88

99
- 📝 [`lang/cpp26`](https://cpprefjp.github.io/site/gen/pull/1535/lang/cpp26.html)
10+
- 📝 [`reference/atomic`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic.html)
1011
- 📝 [`reference/atomic/atomic`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic.html)
12+
- 📝 [`reference/atomic/atomic/fetch_and`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_and.html)
1113
- 📝 [`reference/atomic/atomic/fetch_fmaximum`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_fmaximum.html)
1214
- 📝 [`reference/atomic/atomic/fetch_fmaximum_num`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_fmaximum_num.html)
1315
- 📝 [`reference/atomic/atomic/fetch_fminimum`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_fminimum.html)
1416
- 📝 [`reference/atomic/atomic/fetch_fminimum_num`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_fminimum_num.html)
1517
- 📝 [`reference/atomic/atomic/fetch_max`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_max.html)
1618
- 📝 [`reference/atomic/atomic/fetch_min`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_min.html)
19+
- 📝 [`reference/atomic/atomic/fetch_or`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_or.html)
20+
- 📝 [`reference/atomic/atomic/fetch_xor`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/fetch_xor.html)
1721
- 📝 [`reference/atomic/atomic/store_add`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/store_add.html) ✨
1822
- 📝 [`reference/atomic/atomic/store_and`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/store_and.html) ✨
1923
- 📝 [`reference/atomic/atomic/store_fmaximum`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/store_fmaximum.html) ✨
@@ -25,6 +29,10 @@
2529
- 📝 [`reference/atomic/atomic/store_or`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/store_or.html) ✨
2630
- 📝 [`reference/atomic/atomic/store_sub`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/store_sub.html) ✨
2731
- 📝 [`reference/atomic/atomic/store_xor`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic/store_xor.html) ✨
32+
- 📝 [`reference/atomic/atomic_fetch_max`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_fetch_max.html)
33+
- 📝 [`reference/atomic/atomic_fetch_max_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_fetch_max_explicit.html)
34+
- 📝 [`reference/atomic/atomic_fetch_min`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_fetch_min.html)
35+
- 📝 [`reference/atomic/atomic_fetch_min_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_fetch_min_explicit.html)
2836
- 📝 [`reference/atomic/atomic_ref`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_ref.html)
2937
- 📝 [`reference/atomic/atomic_ref/store_add`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_ref/store_add.html) ✨
3038
- 📝 [`reference/atomic/atomic_ref/store_and`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_ref/store_and.html) ✨
@@ -37,3 +45,17 @@
3745
- 📝 [`reference/atomic/atomic_ref/store_or`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_ref/store_or.html) ✨
3846
- 📝 [`reference/atomic/atomic_ref/store_sub`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_ref/store_sub.html) ✨
3947
- 📝 [`reference/atomic/atomic_ref/store_xor`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_ref/store_xor.html) ✨
48+
- 📝 [`reference/atomic/atomic_store_add`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_add.html) ✨
49+
- 📝 [`reference/atomic/atomic_store_add_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_add_explicit.html) ✨
50+
- 📝 [`reference/atomic/atomic_store_and`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_and.html) ✨
51+
- 📝 [`reference/atomic/atomic_store_and_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_and_explicit.html) ✨
52+
- 📝 [`reference/atomic/atomic_store_max`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_max.html) ✨
53+
- 📝 [`reference/atomic/atomic_store_max_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_max_explicit.html) ✨
54+
- 📝 [`reference/atomic/atomic_store_min`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_min.html) ✨
55+
- 📝 [`reference/atomic/atomic_store_min_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_min_explicit.html) ✨
56+
- 📝 [`reference/atomic/atomic_store_or`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_or.html) ✨
57+
- 📝 [`reference/atomic/atomic_store_or_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_or_explicit.html) ✨
58+
- 📝 [`reference/atomic/atomic_store_sub`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_sub.html) ✨
59+
- 📝 [`reference/atomic/atomic_store_sub_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_sub_explicit.html) ✨
60+
- 📝 [`reference/atomic/atomic_store_xor`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_xor.html) ✨
61+
- 📝 [`reference/atomic/atomic_store_xor_explicit`](https://cpprefjp.github.io/site/gen/pull/1535/reference/atomic/atomic_store_xor_explicit.html) ✨

gen/pull/1535/lang/cpp26.html

Lines changed: 16 additions & 16 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-10-09T01:51:49">
180-
2025年10月09日 01時51分49秒
179+
<span itemprop="datePublished" content="2025-10-09T10:53:36">
180+
2025年10月09日 10時53分36秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -733,20 +733,20 @@ <h3>並行・並列・非同期処理</h3>
733733
</ul>
734734
</li>
735735
<li>非メンバ関数<ul>
736-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_add.md.nolink">std::atomic_store_add()</span></code></li>
737-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_add_explicit.md.nolink">std::atomic_store_add_explicit()</span></code></li>
738-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_sub.md.nolink">std::atomic_store_sub()</span></code></li>
739-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_sub_explicit.md.nolink">std::atomic_store_sub_explicit()</span></code></li>
740-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_and.md.nolink">std::atomic_store_and()</span></code></li>
741-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_and_explicit.md.nolink">std::atomic_store_and_explicit()</span></code></li>
742-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_or.md.nolink">std::atomic_store_or()</span></code></li>
743-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_or_explicit.md.nolink">std::atomic_store_or_explicit()</span></code></li>
744-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_xor.md.nolink">std::atomic_store_xor()</span></code></li>
745-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_xor_explicit.md.nolink">std::atomic_store_xor_explicit()</span></code></li>
746-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_max.md.nolink">std::atomic_store_max()</span></code></li>
747-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_max_explicit.md.nolink">std::atomic_store_max_explicit()</span></code></li>
748-
<li><code><span href="https://cpprefjp.github.io/reference/atomic/atomic_store_min.md.nolink">std::atomic_store_min()</span></code></li>
749-
<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>
750750
</ul>
751751
</li>
752752
</ul>

gen/pull/1535/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-09T10:53:36">
180+
2025年10月09日 10時53分36秒
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>

gen/pull/1535/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-09T10:53:36">
204+
2025年10月09日 10時53分36秒
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>

gen/pull/1535/reference/atomic/atomic/fetch_or.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-09T10:53:36">
204+
2025年10月09日 10時53分36秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -244,10 +244,6 @@ <h2>概要</h2>
244244
<p>OR演算を行う</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>

gen/pull/1535/reference/atomic/atomic/fetch_xor.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-09T10:53:36">
204+
2025年10月09日 10時53分36秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -244,10 +244,6 @@ <h2>概要</h2>
244244
<p>XOR演算を行う</p>
245245
<h2>要件</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>

0 commit comments

Comments
 (0)