|
2 | 2 | <feed xmlns="http://www.w3.org/2005/Atom"> |
3 | 3 | <title>cpprefjp - C++日本語リファレンス</title> |
4 | 4 | <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> |
7 | 7 |
|
8 | 8 |
|
| 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"><pre><code>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 &lt;concepts&gt; |
| 26 | ++#include &lt;execution&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&lt;decltype(sch), ex::parallel_scheduler&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 | +</code></pre></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"><pre><code>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 | +</code></pre></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"><pre><code>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&lt;P&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&lt;P&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&lt;P&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 | +</code></pre></summary> |
| 126 | + |
| 127 | + <author> |
| 128 | + <name>yoh</name> |
| 129 | + <email>kawasaki.liamg@gmail.com</email> |
| 130 | + </author> |
| 131 | + </entry> |
| 132 | + |
9 | 133 | <entry> |
10 | 134 | <title>parallel_scheduler -- execution: P2079R10 Replaceability API (#1511)</title> |
11 | 135 | <link href="https://cpprefjp.github.io/reference/execution/execution/parallel_scheduler.html"/> |
@@ -1077,32 +1201,6 @@ index 02f38a2a2..35c8b1396 100644 |
1077 | 1201 | `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)されたとき、 |
1078 | 1202 |
|
1079 | 1203 | - `sndr`が値`vals`で値完了するならば、`args`を`vals`を指す左辺値式のパックとして、[`b.schedule_bulk_unchunked`](system_context_replaceability/parallel_scheduler_backend/schedule_bulk_unchunked.md.nolink)`(shape, r, s)`が呼ばれる。このとき、 |
1080 | | -</code></pre></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"><pre><code>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 | | - |
1106 | 1204 | </code></pre></summary> |
1107 | 1205 |
|
1108 | 1206 | <author> |
|
0 commit comments