Skip to content

Commit 8275245

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent cf8a08c commit 8275245

File tree

5 files changed

+159
-42
lines changed

5 files changed

+159
-42
lines changed

reference/execution/execution/parallel_scheduler.html

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
</head>
7070
<body>
71-
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;header&#34;: [&#34;execution&#34;], &#34;id-type&#34;: [&#34;class&#34;], &#34;namespace&#34;: [&#34;std::execution&#34;], &#34;cpp&#34;: [&#34;cpp26&#34;]}, &#34;sources&#34;: [], &#34;page_id&#34;: [&#34;reference&#34;, &#34;execution&#34;, &#34;execution&#34;, &#34;parallel_scheduler&#34;]}">
71+
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;header&#34;: [&#34;execution&#34;], &#34;id-type&#34;: [&#34;class&#34;], &#34;namespace&#34;: [&#34;std::execution&#34;], &#34;cpp&#34;: [&#34;cpp26&#34;]}, &#34;sources&#34;: [{&#34;id&#34;: &#34;a8163fad07666b2930973d593a062a27dc6e7b21&#34;, &#34;source&#34;: &#34;#include &lt;concepts&gt;\n#include &lt;execution&gt;\nnamespace ex = std::execution;\n\nint main()\n{\n\u3000ex::scheduler auto sch = ex::get_parallel_scheduler();\n static_assert(std::same_as&lt;decltype(sch), ex::parallel_scheduler&gt;);\n}\n&#34;}], &#34;page_id&#34;: [&#34;reference&#34;, &#34;execution&#34;, &#34;execution&#34;, &#34;parallel_scheduler&#34;]}">
7272
<nav class="navbar navbar-default" role="navigation">
7373
<div class="container-fluid">
7474
<div class="navbar-header">
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2025-08-29T13:44:49">
204-
2025年08月29日 13時44分49秒
203+
<span itemprop="datePublished" content="2025-08-29T14:39:34">
204+
2025年08月29日 14時39分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -286,6 +286,20 @@ <h3><code>bulk_unchunked</code>アルゴリズム</h3>
286286
</li>
287287
<li>他の全ての完了操作は、変更なしに転送される。</li>
288288
</ul>
289+
<h2></h2>
290+
<p><div class="yata" id="a8163fad07666b2930973d593a062a27dc6e7b21"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../../concepts.html">&lt;concepts&gt;</a></span><span class="cp"></span>
291+
<span class="cp">#include</span> <span class="cpf"><a href="../../execution.html">&lt;execution&gt;</a></span><span class="cp"></span>
292+
<span class="k">namespace</span> <span class="n">ex</span> <span class="o">=</span> <span class="n">std</span><span class="o">::</span><span class="n">execution</span><span class="p">;</span>
293+
294+
<span class="kt">int</span> <span class="nf">main</span><span class="p">()</span>
295+
<span class="p">{</span>
296+
 <span class="n"><a href="scheduler.html">ex::scheduler</a></span> <span class="k">auto</span> <span class="n">sch</span> <span class="o">=</span> <span class="n"><a href="get_parallel_scheduler.html">ex::get_parallel_scheduler()</a></span><span class="p">;</span>
297+
<span class="k">static_assert</span><span class="p">(</span><span class="n">std</span><span class="o">::</span><span class="n"><a href="../../concepts/same_as.html">same_as</a></span><span class="o">&lt;</span><span class="k">decltype</span><span class="p">(</span><span class="n">sch</span><span class="p">),</span> <span class="n"><span style="color:#ff0000">ex::parallel_scheduler</span></span><span class="o">&gt;</span><span class="p">);</span>
298+
<span class="p">}</span>
299+
</code></pre></div>
300+
</div></p>
301+
<h3>出力</h3>
302+
<p><pre><code></code></pre></p>
289303
<h2>バージョン</h2>
290304
<h3>言語</h3>
291305
<ul>

reference/execution/execution/system_context_replaceability.html

Lines changed: 7 additions & 2 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-08-29T13:44:49">
204-
2025年08月29日 13時44分49秒
203+
<span itemprop="datePublished" content="2025-08-29T14:39:34">
204+
2025年08月29日 14時39分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -231,6 +231,11 @@
231231
<span class="p">}</span>
232232
</code></pre></div>
233233
</p>
234+
<p><a href="parallel_scheduler.html">並列Scheduler</a>をユーザ実装で置き換える場合、下記が必要となる。</p>
235+
<ul>
236+
<li><code><a href="system_context_replaceability/parallel_scheduler_backend.html">system_context_replaceability::parallel_scheduler_backend</a></code>インターフェースをバックエンドにもつ並列Schedulerを実装する。</li>
237+
<li>処理系の手順に従って、<code><a href="system_context_replaceability/query_parallel_scheduler_backend.html">system_context_replaceability::query_parallel_scheduler_backend</a></code>シンボルを自前バックエンド実装を返す関数で置き換える。</li>
238+
</ul>
234239
<table border="1" bordercolor="#888" style="border-collapse:collapse">
235240
<thead>
236241
<tr>

reference/execution/execution/system_context_replaceability/receiver_proxy/try_query.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@
224224

225225
<p class="text-right"><small>
226226
最終更新日時(UTC):
227-
<span itemprop="datePublished" content="2025-08-29T13:44:49">
228-
2025年08月29日 13時44分49秒
227+
<span itemprop="datePublished" content="2025-08-29T14:39:34">
228+
2025年08月29日 14時39分34秒
229229
</span>
230230
<br/>
231231
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -261,14 +261,14 @@ <h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価
261261
<p>説明用の<code>env</code><code>*this</code>が表現する<a href="../../receiver.html">Receiver</a>の環境とする。
262262
下記を満たす場合は<code><a href="../../../../optional/nullopt_t.html">nullopt</a></code>を返す。そうでなければ、<code>q(env)</code>を返す。</p>
263263
<ul>
264-
<li><code>Query</code><a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../../../implementation-compliance.html#dfn-implementation-defined-behavior">実装定義</a>のサポートされたクエリ集合のメンバではない、または</li>
265-
<li><code>P</code><a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../../../implementation-compliance.html#dfn-implementation-defined-behavior">実装定義</a>のサポートされた<code>Query</code>の結果型集合のメンバではない、または</li>
264+
<li><code>Query</code><a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../../../implementation-compliance.html#dfn-implementation-defined-behavior">実装定義</a>でサポートされるクエリ集合のメンバではない、または</li>
265+
<li><code>P</code><a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../../../implementation-compliance.html#dfn-implementation-defined-behavior">実装定義</a>でサポートされる<code>Query</code>の結果型集合のメンバではない、または</li>
266266
<li><code>q(env)</code><a class="cpprefjp-defined-word" data-desc="プログラムが文法規則・診断対象の意味規則・単一定義規則を満たすこと" href="../../../../../implementation-compliance.html#dfn-well-formed">適格</a>でないか、cv修飾された<code>P</code>型を持たない。</li>
267267
</ul>
268268
<h2><a class="cpprefjp-defined-word" data-desc="問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態">例外</a></h2>
269269
<p>投げない</p>
270270
<h2>備考</h2>
271-
<p><code><a href="../../../get_stop_token.html">get_stop_token_t</a></code><a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../../../implementation-compliance.html#dfn-implementation-defined-behavior">実装定義</a>のサポートされたクエリ集合に含まれ<code><a href="../../../../stop_token/inplace_stop_token.html">inplace_stop_token</a></code><code>get_stop_token_t</code><a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../../../implementation-compliance.html#dfn-implementation-defined-behavior">実装定義</a>のサポートされた結果型集合のメンバである</p>
271+
<p><code><a href="../../../get_stop_token.html">get_stop_token_t</a></code><a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../../../implementation-compliance.html#dfn-implementation-defined-behavior">実装定義</a>でサポートるクエリ集合に含まれ<code><a href="../../../../stop_token/inplace_stop_token.html">inplace_stop_token</a></code><code>get_stop_token_t</code><a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../../../../implementation-compliance.html#dfn-implementation-defined-behavior">実装定義</a>でサポートされる結果型集合のメンバである</p>
272272
<h2>バージョン</h2>
273273
<h3>言語</h3>
274274
<ul>
@@ -284,7 +284,7 @@ <h3>処理系</h3>
284284
<h2>関連項目</h2>
285285
<ul>
286286
<li><code><a href="../../parallel_scheduler.html">execution::parallel_scheduler</a></code></li>
287-
<li><code><a href="../parallel_scheduler_backend.html">execution::parallel_scheduler_backend::parallel_scheduler_backend</a></code></li>
287+
<li><code><a href="../parallel_scheduler_backend.html">execution::system_context_replaceability::parallel_scheduler_backend</a></code></li>
288288
</ul>
289289
<h2>参照</h2>
290290
<ul>

rss.xml

Lines changed: 126 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,134 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<link href="https://cpprefjp.github.io" />
5-
<updated>2025-08-29T13:49:49.534916</updated>
6-
<id>c52091b7-9c01-4e1a-8cd9-39179a4f6fbf</id>
5+
<updated>2025-08-29T14:47:08.041014</updated>
6+
<id>5193410a-4568-4a9e-89c6-3f7d585e39c9</id>
77

88

9+
<entry>
10+
<title>parallel_scheduler -- execution: P2079R10 調整(#1511)</title>
11+
<link href="https://cpprefjp.github.io/reference/execution/execution/parallel_scheduler.html"/>
12+
<id>bdd426b245b4df9048734349463769e794ad2b1e:reference/execution/execution/parallel_scheduler.md</id>
13+
<updated>2025-08-29T23:39:34+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/execution/execution/parallel_scheduler.md b/reference/execution/execution/parallel_scheduler.md
16+
index 416c59a49..47dc63b2a 100644
17+
--- a/reference/execution/execution/parallel_scheduler.md
18+
+++ b/reference/execution/execution/parallel_scheduler.md
19+
@@ -76,6 +76,27 @@ namespace std::execution {
20+
- 他の全ての完了操作は、変更なしに転送される。
21+
22+
23+
+## 例
24+
+```cpp example
25+
+#include &amp;lt;concepts&amp;gt;
26+
+#include &amp;lt;execution&amp;gt;
27+
+namespace ex = std::execution;
28+
+
29+
+int main()
30+
+{
31+
+ ex::scheduler auto sch = ex::get_parallel_scheduler();
32+
+ static_assert(std::same_as&amp;lt;decltype(sch), ex::parallel_scheduler&amp;gt;);
33+
+}
34+
+```
35+
+* ex::parallel_scheduler[color ff0000]
36+
+* ex::scheduler[link scheduler.md]
37+
+* ex::get_parallel_scheduler()[link get_parallel_scheduler.md]
38+
+
39+
+### 出力
40+
+```
41+
+```
42+
+
43+
+
44+
## バージョン
45+
### 言語
46+
- C++26
47+
&lt;/code&gt;&lt;/pre&gt;</summary>
48+
49+
<author>
50+
<name>yoh</name>
51+
<email>kawasaki.liamg@gmail.com</email>
52+
</author>
53+
</entry>
54+
55+
<entry>
56+
<title>system_context_replaceability -- execution: P2079R10 調整(#1511)</title>
57+
<link href="https://cpprefjp.github.io/reference/execution/execution/system_context_replaceability.html"/>
58+
<id>bdd426b245b4df9048734349463769e794ad2b1e:reference/execution/execution/system_context_replaceability.md</id>
59+
<updated>2025-08-29T23:39:34+09:00</updated>
60+
61+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/execution/execution/system_context_replaceability.md b/reference/execution/execution/system_context_replaceability.md
62+
index 66395c6fc..c52b84ff4 100644
63+
--- a/reference/execution/execution/system_context_replaceability.md
64+
+++ b/reference/execution/execution/system_context_replaceability.md
65+
@@ -12,6 +12,12 @@ namespace std::execution::system_context_replaceability {
66+
}
67+
```
68+
69+
+[並列Scheduler](parallel_scheduler.md)をユーザ実装で置き換える場合、下記が必要となる。
70+
+
71+
+- [`system_context_replaceability::parallel_scheduler_backend`](system_context_replaceability/parallel_scheduler_backend.md)インターフェースをバックエンドにもつ並列Schedulerを実装する。
72+
+- 処理系の手順に従って、[`system_context_replaceability::query_parallel_scheduler_backend`](system_context_replaceability/query_parallel_scheduler_backend.md)シンボルを自前バックエンド実装を返す関数で置き換える。
73+
+
74+
+
75+
| 名前 | 説明 | 対応バージョン |
76+
|------|------|----------------|
77+
| [`receiver_proxy`](system_context_replaceability/receiver_proxy.md) | バックエンド実装用のReceiverプロキシ (class) | C++26 |
78+
&lt;/code&gt;&lt;/pre&gt;</summary>
79+
80+
<author>
81+
<name>yoh</name>
82+
<email>kawasaki.liamg@gmail.com</email>
83+
</author>
84+
</entry>
85+
86+
<entry>
87+
<title>try_query -- execution: P2079R10 調整(#1511)</title>
88+
<link href="https://cpprefjp.github.io/reference/execution/execution/system_context_replaceability/receiver_proxy/try_query.html"/>
89+
<id>bdd426b245b4df9048734349463769e794ad2b1e:reference/execution/execution/system_context_replaceability/receiver_proxy/try_query.md</id>
90+
<updated>2025-08-29T23:39:34+09:00</updated>
91+
92+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/execution/execution/system_context_replaceability/receiver_proxy/try_query.md b/reference/execution/execution/system_context_replaceability/receiver_proxy/try_query.md
93+
index b007d8fe1..e12337398 100644
94+
--- a/reference/execution/execution/system_context_replaceability/receiver_proxy/try_query.md
95+
+++ b/reference/execution/execution/system_context_replaceability/receiver_proxy/try_query.md
96+
@@ -24,8 +24,8 @@ optional&amp;lt;P&amp;gt; try_query(Query q) noexcept;
97+
説明用の`env`を`*this`が表現する[Receiver](../../receiver.md)の環境とする。
98+
下記を満たす場合は[`nullopt`](/reference/optional/nullopt_t.md)を返す。そうでなければ、`q(env)`を返す。
99+
100+
-- `Query`が実装定義のサポートされたクエリ集合のメンバではない、または
101+
-- `P`が実装定義のサポートされた`Query`の結果型集合のメンバではない、または
102+
+- `Query`が実装定義でサポートされるクエリ集合のメンバではない、または
103+
+- `P`が実装定義でサポートされる`Query`の結果型集合のメンバではない、または
104+
- 式`q(env)`が適格でないか、cv修飾された`P`型を持たない。
105+
106+
107+
@@ -34,7 +34,7 @@ optional&amp;lt;P&amp;gt; try_query(Query q) noexcept;
108+
109+
110+
## 備考
111+
-[`get_stop_token_t`](../../../get_stop_token.md)は実装定義のサポートされたクエリ集合に含まれ、[`inplace_stop_token`](/reference/stop_token/inplace_stop_token.md)は`get_stop_token_t`の実装定義のサポートされた結果型集合のメンバである。
112+
+[`get_stop_token_t`](../../../get_stop_token.md)は実装定義でサポートるクエリ集合に含まれ、[`inplace_stop_token`](/reference/stop_token/inplace_stop_token.md)は`get_stop_token_t`の実装定義でサポートされる結果型集合のメンバである。
113+
114+
115+
## バージョン
116+
@@ -50,7 +50,7 @@ optional&amp;lt;P&amp;gt; try_query(Query q) noexcept;
117+
118+
## 関連項目
119+
- [`execution::parallel_scheduler`](../../parallel_scheduler.md)
120+
-- [`execution::parallel_scheduler_backend::parallel_scheduler_backend`](../parallel_scheduler_backend.md)
121+
+- [`execution::system_context_replaceability::parallel_scheduler_backend`](../parallel_scheduler_backend.md)
122+
123+
124+
## 参照
125+
&lt;/code&gt;&lt;/pre&gt;</summary>
126+
127+
<author>
128+
<name>yoh</name>
129+
<email>kawasaki.liamg@gmail.com</email>
130+
</author>
131+
</entry>
132+
9133
<entry>
10134
<title>parallel_scheduler -- execution: P2079R10 Replaceability API (#1511)</title>
11135
<link href="https://cpprefjp.github.io/reference/execution/execution/parallel_scheduler.html"/>
@@ -1077,32 +1201,6 @@ index 02f38a2a2..35c8b1396 100644
10771201
`parallel_scheduler`は[`bulk_unchunked`](bulk_unchunked.md)アルゴリズムのカスタマイズ実装を提供する。[Receiver](receiver.md)`rcvr`が`bulk_unchunked(sndr, pol, shape, f)`が返す[Sender](sender.md)に[接続(connect)](connect.md)され、結果の[Operation State](operation_state.md)が[開始(start)](start.md)されたとき、
10781202

10791203
- `sndr`が値`vals`で値完了するならば、`args`を`vals`を指す左辺値式のパックとして、[`b.schedule_bulk_unchunked`](system_context_replaceability/parallel_scheduler_backend/schedule_bulk_unchunked.md.nolink)`(shape, r, s)`が呼ばれる。このとき、
1080-
&lt;/code&gt;&lt;/pre&gt;</summary>
1081-
1082-
<author>
1083-
<name>yoh</name>
1084-
<email>kawasaki.liamg@gmail.com</email>
1085-
</author>
1086-
</entry>
1087-
1088-
<entry>
1089-
<title>forwarding_query -- execution/forwarding_query: get_await_completion_adaptor追記(#1507)</title>
1090-
<link href="https://cpprefjp.github.io/reference/execution/forwarding_query.html"/>
1091-
<id>d53cd4ce406463315760b17a7bb9b9058e2bc759:reference/execution/forwarding_query.md</id>
1092-
<updated>2025-08-28T13:44:50+09:00</updated>
1093-
1094-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/execution/forwarding_query.md b/reference/execution/forwarding_query.md
1095-
index 8b5e23a84..6a8735bdf 100644
1096-
--- a/reference/execution/forwarding_query.md
1097-
+++ b/reference/execution/forwarding_query.md
1098-
@@ -49,6 +49,7 @@ namespace std {
1099-
- [`execution::get_scheduler`](execution/get_scheduler.md)
1100-
- [`execution::get_delegation_scheduler`](execution/get_delegation_scheduler.md)
1101-
- [`execution::get_completion_scheduler`](execution/get_completion_scheduler.md)
1102-
+- [`execution::get_await_completion_adaptor`](execution/get_await_completion_adaptor.md)
1103-
1104-
下記[クエリオブジェクト](queryable.md)に対する問い合わせは、`FWD-ENV`経由で転送されない。
1105-
11061204
&lt;/code&gt;&lt;/pre&gt;</summary>
11071205

11081206
<author>

sitemap.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,7 +1823,7 @@
18231823

18241824
<url>
18251825
<loc>https://cpprefjp.github.io/reference/execution/execution/parallel_scheduler.html</loc>
1826-
<lastmod>2025-08-29T22:44:49+09:00</lastmod>
1826+
<lastmod>2025-08-29T23:39:34+09:00</lastmod>
18271827
<changefreq>daily</changefreq>
18281828
<priority>0.6</priority>
18291829
</url>
@@ -1886,7 +1886,7 @@
18861886

18871887
<url>
18881888
<loc>https://cpprefjp.github.io/reference/execution/execution/system_context_replaceability.html</loc>
1889-
<lastmod>2025-08-29T22:44:49+09:00</lastmod>
1889+
<lastmod>2025-08-29T23:39:34+09:00</lastmod>
18901890
<changefreq>daily</changefreq>
18911891
<priority>0.6</priority>
18921892
</url>
@@ -2593,7 +2593,7 @@
25932593

25942594
<url>
25952595
<loc>https://cpprefjp.github.io/reference/execution/execution/system_context_replaceability/receiver_proxy/try_query.html</loc>
2596-
<lastmod>2025-08-29T22:44:49+09:00</lastmod>
2596+
<lastmod>2025-08-29T23:39:34+09:00</lastmod>
25972597
<changefreq>daily</changefreq>
25982598
<priority>0.4</priority>
25992599
</url>

0 commit comments

Comments
 (0)