std::swap(std::packaged_task)
提供:cppreference.com
< cpp | thread | packaged task
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| template< class Function, class Args... > void swap( packaged_task<Function(Args...)> &lhs, |
||
std::swap用std::packaged_taskアルゴリズムを専門としています。
lhsのそれとの交流rhsの状態を。効果的にlhs.swap(rhs)呼び出し.Original:
Specializes the std::swap algorithm for std::packaged_task. Exchanges the state of
lhs with that of rhs. Effectively calls lhs.swap(rhs).The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] パラメータ
| lhs, rhs | - | その状態を交換する作業をパッケージ化
Original: packaged tasks whose states to swap 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.
You can help to correct and verify the translation. Click here for instructions.
[編集] 例外
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| スワップ2タスクオブジェクト Original: swaps two task objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) | |