名前空間
変種
操作

std::packaged_task<R(Args...)>::reset

提供: cppreference.com
< cpp‎ | thread‎ | packaged task
2013年7月2日 (火) 16:07時点におけるP12bot (トーク | 投稿記録)による版

 
 
スレッドサポートライブラリ
スレッド
(C++11)
(C++20)
(C++20)
this_thread 名前空間
(C++11)
(C++11)
(C++11)
相互排他
(C++11)
汎用ロック管理
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
条件変数
(C++11)
セマフォ
ラッチとバリア
(C++20)
(C++20)
フューチャー
(C++11)
(C++11)
(C++11)
(C++11)
 
 
void reset();
(C++11以上)
リセットした状態では、以前の実行の結果を放棄する。新しい共有状態が構築されます.
Original:
Resets the state abandoning the results of previous executions. New shared state is constructed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
*this = packaged_task(std::move(f))が格納されているタスクであるf、に相当します
Original:
Equivalent to *this = packaged_task(std::move(f)), where f is the stored task.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

パラメータ

(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

値を返します

(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

例外