名前空間
変種
操作

「cpp/thread/packaged task/reset」の版間の差分

提供: cppreference.com
(1版:Translate from the English version)
(r2.7.3) (ロボットによる 追加: de, en, es, fr, it, pt, ru, zh)
20行: 20行:
 
* {{tr|{{c|std::bad_alloc}}新しい共有された状態のために十分なメモリがなかった場合..|{{c|std::bad_alloc}} if there was not enough memory for a new shared state.}}
 
* {{tr|{{c|std::bad_alloc}}新しい共有された状態のために十分なメモリがなかった場合..|{{c|std::bad_alloc}} if there was not enough memory for a new shared state.}}
 
* {{tr|いずれかの例外は新しい[[cpp/thread/packaged_task/packaged_task |コンストラクタに移動します]]の{{tt|packaged_task}}によってスロー|any exception thrown by the [[cpp/thread/packaged_task/packaged_task |コンストラクタに移動します]] of the new {{tt|packaged_task}}}}
 
* {{tr|いずれかの例外は新しい[[cpp/thread/packaged_task/packaged_task |コンストラクタに移動します]]の{{tt|packaged_task}}によってスロー|any exception thrown by the [[cpp/thread/packaged_task/packaged_task |コンストラクタに移動します]] of the new {{tt|packaged_task}}}}
 +
 +
 +
 +
 +
 +
 +
 +
 +

2012年11月2日 (金) 20:24時点における版

 
 
スレッドサポートライブラリ
スレッド
(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.

例外