Skip to content

Commit 89a5cc0

Browse files
committed
executoin/continue_on: receiver_t置換ミス修正(#1652)
1 parent ba2cd88 commit 89a5cc0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

reference/execution/execution/continues_on.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,17 @@ namespace std::execution {
5555
5656
using sched_t = decltype(auto(sch));
5757
using variant_t = see below;
58-
using receiver_tag = see below;
59-
using operation_t = connect_result_t<schedule_result_t<sched_t>, receiver_tag>;
60-
constexpr bool nothrow = noexcept(connect(schedule(sch), receiver_tag{nullptr}));
58+
using receiver_t = see below;
59+
using operation_t = connect_result_t<schedule_result_t<sched_t>, receiver_t>;
60+
constexpr bool nothrow = noexcept(connect(schedule(sch), receiver_t{nullptr}));
6161
6262
struct state-type {
6363
Rcvr& rcvr; // exposition only
6464
variant_t async-result; // exposition only
6565
operation_t op-state; // exposition only
6666
6767
explicit state-type(sched_t sch, Rcvr& rcvr) noexcept(nothrow)
68-
: rcvr(rcvr), op-state(connect(schedule(sch), receiver_tag{this})) {}
68+
: rcvr(rcvr), op-state(connect(schedule(sch), receiver_t{this})) {}
6969
};
7070
7171
return state-type{sch, rcvr};
@@ -89,7 +89,7 @@ namespace std::execution {
8989
* variant[link /reference/variant/variant.md]
9090
* monostate[link /reference/variant/monostate.md]
9191

92-
- `receiver_tag`は説明専用クラス`receiver-type`のエイリアスとする。
92+
- `receiver_t`は説明専用クラス`receiver-type`のエイリアスとする。
9393

9494
`impls-for<continues_on_t>::complete`メンバは、下記ラムダ式と等価な関数呼び出し可能なオブジェクトで初期化される。
9595

0 commit comments

Comments
 (0)