std::swap(std::unique_lock)
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
template< class Mutex > void swap( unique_lock<Mutex> &lhs, |
||
std::swap用std::unique_lockアルゴリズムを専門としています。
lhs
のそれとの交流rhs
の状態を。効果的にlhs.swap(rhs)呼び出し.Original:
Specializes the std::swap algorithm for std::unique_lock. 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: lock wrappers 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.
例外
noexcept 指定:
noexcept
例
This section is incomplete Reason: no example |
も参照してください
別の std::unique_lock と状態を入れ替えます (パブリックメンバ関数) |