Skip to content

Commit a4fbd16

Browse files
committed
execution: schedule_result_t (#1384)
1 parent 08365de commit a4fbd16

3 files changed

Lines changed: 39 additions & 1 deletion

File tree

reference/execution/execution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ namespace std::execution {
104104
| [`execution::just_stopped`](execution/just_stopped.md.nolink) | 停止を送信するSender (customization point object) | C++26 |
105105
| [`execution::read_env`](execution/read_env.md.nolink) | Receiver環境から構築されるSender (customization point object) | C++26 |
106106
| [`execution::schedule`](execution/schedule.md) | Scheduler上で実行されるSender (customization point object) | C++26 |
107-
| [`execution::schedule_result_t`](execution/schedule_result_t.md.nolink) | `schedule`結果型を取得 (alias template) | C++26 |
107+
| [`execution::schedule_result_t`](execution/schedule_result_t.md) | [`schedule`](execution/schedule.md)結果型を取得 (alias template) | C++26 |
108108
109109
### Senderアダプタ
110110

reference/execution/execution/schedule.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ int main()
6767
* get_scheduler()[link run_loop/get_scheduler.md.nolink]
6868
* run()[link run_loop/run.md.nolink]
6969
* finish()[link run_loop/finish.md.nolink]
70+
* std::move[link /reference/utility/move.md]
71+
* std::jthread[link /reference/thread/jthread.md]
7072
* std::this_thread::get_id()[link /reference/thread/this_thread/get_id.md]
7173

7274
### 出力例
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# schedule_result_t
2+
* execution[meta header]
3+
* std::execution[meta namespace]
4+
* type-alias[meta id-type]
5+
* cpp26[meta cpp]
6+
7+
```cpp
8+
namespace std::execution {
9+
template<scheduler Sndr>
10+
using schedule_result_t = decltype(schedule(declval<Sndr>()));
11+
}
12+
```
13+
* scheduler[link scheduler.md]
14+
* schedule[link schedule.md]
15+
16+
## 概要
17+
[Scheduler型](scheduler.md)`Sndr`の[`schedule`](schedule.md)結果型を取得する。
18+
19+
20+
## バージョン
21+
### 言語
22+
- C++26
23+
24+
### 処理系
25+
- [Clang](/implementation.md#clang): ??
26+
- [GCC](/implementation.md#gcc): ??
27+
- [ICC](/implementation.md#icc): ??
28+
- [Visual C++](/implementation.md#visual_cpp): ??
29+
30+
31+
## 関連項目
32+
- [`execution::schedule`](schedule.md)
33+
34+
35+
## 参照
36+
- [P2300R10 `std::execution`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2300r10.html)

0 commit comments

Comments
 (0)