22<feed xmlns =" http://www.w3.org/2005/Atom" >
33 <title >cpprefjp - C++日本語リファレンス</title >
44 <link href =" https://cpprefjp.github.io" />
5- <updated >2025-04-14T16:23:22.761668 </updated >
6- <id >27e240a6-0188-46ed-b7e4-24649985af69 </id >
5+ <updated >2025-04-15T04:10:25.994753 </updated >
6+ <id >e0b32dac-dd78-47af-be8e-d688db660e24 </id >
77
88
9+ <entry >
10+ <title >はじめてのコントリビュート -- Markdownの外部解説サイトへのリンクを削除</title >
11+ <link href =" https://cpprefjp.github.io/start_editing.html" />
12+ <id >b4cf7e4d32e038907bf489e4850829990043ca57:start_editing.md</id >
13+ <updated >2025-04-15T13:06:50+09:00</updated >
14+
15+ <summary type =" html" >< pre>< code> diff --git a/start_editing.md b/start_editing.md
16+ index 2e632953f..2bd0b2352 100644
17+ --- a/start_editing.md
18+ +++ b/start_editing.md
19+ @@ -91,9 +91,6 @@ Markdownは、GitHubサービス上でドキュメントを記述するフォー
20+
21+ Markdownの記述方法をわかりやすく解説してくれているWebサイトは、すでに数多く存在しますので、詳細はそちらを参照してください。
22+
23+ -- [Markdown記法 チートシート](http://qiita.com/Qiita/items/c686397e4a0f4f11683d)
24+ -- [文章作成やメモ書きにも便利、Markdown記法](http://kojika17.com/2013/01/starting-markdown.html)
25+ -
26+ ただし、cpprefjp特有の拡張構文もあります。
27+ 以下のページにまとめてあるので、そちらを参照して下さい。
28+
29+ < /code>< /pre> </summary >
30+
31+ <author >
32+ <name >Akira Takahashi</name >
33+ 34+ </author >
35+ </entry >
36+
937 <entry >
1038 <title >env -- execution/env: fix ngword</title >
1139 <link href =" https://cpprefjp.github.io/reference/execution/execution/env.html" />
@@ -1421,158 +1449,4 @@ index 88d0da3a7..ed10d259b 100644
14211449 </author >
14221450 </entry >
14231451
1424- <entry >
1425- <title >execution -- execution: scheduler (#1384)</title >
1426- <link href =" https://cpprefjp.github.io/reference/execution/execution.html" />
1427- <id >a7e53aef7e9ce247a1032acc329f68bce4f14ba0:reference/execution/execution.md</id >
1428- <updated >2025-04-13T17:47:15+09:00</updated >
1429-
1430- <summary type =" html" >< pre>< code> diff --git a/reference/execution/execution.md b/reference/execution/execution.md
1431- index 2e8c81770..1814d74cd 100644
1432- --- a/reference/execution/execution.md
1433- +++ b/reference/execution/execution.md
1434- @@ -56,7 +56,7 @@ namespace std::execution {
1435-
1436- | 名前 | 説明 | 対応バージョン |
1437- |------|------|----------------|
1438- -| [`execution::scheduler`](execution/scheduler.md.nolink) | Scheduler (concept) | C++26 |
1439- +| [`execution::scheduler`](execution/scheduler.md) | Scheduler型 (concept) | C++26 |
1440-
1441- ### Receiver
1442-
1443- < /code>< /pre> </summary >
1444-
1445- <author >
1446- <name >yoh</name >
1447- 1448- </author >
1449- </entry >
1450-
1451- <entry >
1452- <title >operation_state -- execution: scheduler (#1384)</title >
1453- <link href =" https://cpprefjp.github.io/reference/execution/execution/operation_state.html" />
1454- <id >a7e53aef7e9ce247a1032acc329f68bce4f14ba0:reference/execution/execution/operation_state.md</id >
1455- <updated >2025-04-13T17:47:15+09:00</updated >
1456-
1457- <summary type =" html" >< pre>< code> diff --git a/reference/execution/execution/operation_state.md b/reference/execution/execution/operation_state.md
1458- index c5c20037b..09d93bb90 100644
1459- --- a/reference/execution/execution/operation_state.md
1460- +++ b/reference/execution/execution/operation_state.md
1461- @@ -27,7 +27,7 @@ namespace std::execution {
1462- 下記をみたすクラス型はOperation Stateとみなせる。
1463-
1464- - `operation_state_t`をメンバ型`O::operation_state_concept`として定義するクラス型
1465- -- `O`型の左辺値`o`に対して`execution::start(o)`が有効な式かつ例外送出されないこと
1466- +- `O`型の左辺値`o`に対して[`execution::start`](start.md.nolink)`(o)`が有効な式かつ例外送出されないこと
1467-
1468- 非同期操作の生存期間中に`operation_state`オブジェクトが破棄されると、未定義の動作を引き起こす。
1469-
1470- < /code>< /pre> </summary >
1471-
1472- <author >
1473- <name >yoh</name >
1474- 1475- </author >
1476- </entry >
1477-
1478- <entry >
1479- <title >scheduler -- execution: scheduler (#1384)</title >
1480- <link href =" https://cpprefjp.github.io/reference/execution/execution/scheduler.html" />
1481- <id >a7e53aef7e9ce247a1032acc329f68bce4f14ba0:reference/execution/execution/scheduler.md</id >
1482- <updated >2025-04-13T17:47:15+09:00</updated >
1483-
1484- <summary type =" html" >< pre>< code> diff --git a/reference/execution/execution/scheduler.md b/reference/execution/execution/scheduler.md
1485- new file mode 100644
1486- index 000000000..364157770
1487- --- /dev/null
1488- +++ b/reference/execution/execution/scheduler.md
1489- @@ -0,0 +1,80 @@
1490- +# scheduler
1491- +* execution[meta header]
1492- +* concept[meta id-type]
1493- +* std::execution[meta namespace]
1494- +* cpp26[meta cpp]
1495- +
1496- +```cpp
1497- +namespace std::execution {
1498- + template& lt;class Sch& gt;
1499- + concept scheduler =
1500- + derived_from& lt;typename remove_cvref_t& lt;Sch& gt;::scheduler_concept, scheduler_t& gt; & amp;& amp;
1501- + queryable& lt;Sch& gt; & amp;& amp;
1502- + requires(Sch& amp;& amp; sch) {
1503- + { schedule(std::forward& lt;Sch& gt;(sch)) } -& gt; sender;
1504- + { auto(get_completion_scheduler& lt;set_value_t& gt;(
1505- + get_env(schedule(std::forward& lt;Sch& gt;(sch))))) }
1506- + -& gt; same_as& lt;remove_cvref_t& lt;Sch& gt;& gt;;
1507- + } & amp;& amp;
1508- + equality_comparable& lt;remove_cvref_t& lt;Sch& gt;& gt; & amp;& amp;
1509- + copyable& lt;remove_cvref_t& lt;Sch& gt;& gt;;
1510- +
1511- + struct scheduler_t {}; // タグ型
1512- +}
1513- +```
1514- +* derived_from[link /reference/concepts/derived_from.md]
1515- +* queryable[link queryable.md.nolink]
1516- +* get_completion_scheduler[link get_completion_scheduler.md.nolink]
1517- +* get_env[link get_env.md.nolink]
1518- +* equality_comparable[link /reference/concepts/equality_comparable.md]
1519- +* copyable[link /reference/concepts/copyable.md]
1520- +
1521- +## 概要
1522- +`scheduler`は、型`Sch`がScheduler型の要件を満たすことを表すコンセプトである。
1523- +
1524- +下記をみたすクラス型はSchedulerとみなせる。
1525- +
1526- +- `scheduler_t`をメンバ型`Sch::scheduler_concept`として定義するクラス型
1527- +- [問い合わせ可能](queryable.md.nolink)であること
1528- +- `Sch`型の値`sch`に対して下記が有効な式であること
1529- + - [`execution::schedule`](schedule.md.nolink)`(sch)`が[Sender](sender.md)を返すこと
1530- + - [`execution::get_completion_scheduler`](get_completion_scheduler.md.nolink)`& lt;set_value_t& gt;(`[`execution::get_env`](get_env.md.nolink)`(`[`execution::schedule`](schedule.md.nolink)`(sch)))`の結果が`Sch`型に等しいこと
1531- +
1532- +
1533- +## 例
1534- +```cpp example
1535- +#include & lt;execution& gt;
1536- +namespace ex = std::execution;
1537- +
1538- +int main()
1539- +{
1540- + ex::run_loop loop;
1541- + ex::scheduler auto sch = loop.get_scheduler();
1542- +}
1543- +```
1544- +* ex::scheduler[color ff0000]
1545- +* ex::run_loop[link run_loop.md.nolink]
1546- +* get_scheduler()[link run_loop/get_scheduler.md.nolink]
1547- +
1548- +### 出力
1549- +```
1550- +```
1551- +
1552- +
1553- +## バージョン
1554- +### 言語
1555- +- C++26
1556- +
1557- +### 処理系
1558- +- [Clang](/implementation.md#clang): ??
1559- +- [GCC](/implementation.md#gcc): ??
1560- +- [ICC](/implementation.md#icc): ??
1561- +- [Visual C++](/implementation.md#visual_cpp): ??
1562- +
1563- +
1564- +## 関連項目
1565- +- [`execution::schedule`](schedule.md.nolink)
1566- +
1567- +
1568- +## 参照
1569- +- [P2300R10 `std::execution`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2300r10.html)
1570- < /code>< /pre> </summary >
1571-
1572- <author >
1573- <name >yoh</name >
1574- 1575- </author >
1576- </entry >
1577-
15781452</feed >
0 commit comments