std::execution:: schedule, std::execution:: schedule_result_t
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
定義済みヘッダ
<execution>
|
||
|
struct
schedule_t
{
/*unspecified*/
}
;
|
(1) | (C++26以降) |
|
inline
constexpr
schedule_t schedule
{
}
;
|
(2) |
(C++26以降)
(カスタマイゼーションポイントオブジェクト) |
|
呼び出しシグネチャ
|
||
|
execution
::
sender
auto
schedule
(
execution
::
scheduler
auto
sch
)
;
|
(C++26以降) | |
|
ヘルパー結果型
|
||
|
template
<
execution
::
scheduler
Sch
>
using schedule_result_t = decltype ( schedule ( std:: declval < Sch > ( ) ) ) ; |
(3) | (C++26以降) |
提供されたスケジューラ上でタスクグラフの開始を記述するsenderを取得します。
部分式 sch に対して、式 schedule ( sch ) は 式等価 です sch. schedule ( ) に。
カスタマイゼーションポイントオブジェクト
名前
execution::schedule
は
カスタマイゼーションポイントオブジェクト
を表し、これは
関数オブジェクト
のconstな
リテラル
semiregular
クラス型である。その型のCV修飾されないバージョンは
execution::schedule_t
と表されるタグ型である。詳細は
CustomizationPointObject
を参照。
例
|
このセクションは不完全です
理由: 例がありません |