std::swap(std::unordered_set)
提供:cppreference.com
< cpp | container | unordered set
|
|
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. |
テンプレートのループが検出されました:テンプレート:page template
| template< > void swap( unordered_set<> &lhs, |
(C + + 11以来) | |
std::swap用std::unordered_setアルゴリズムを専門としています。
lhsとrhsのコンテンツを交換します。コールlhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::unordered_set. Swaps the contents of
lhs and rhs. 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: containers whose contents 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.
[編集] 複雑
Constant.
[編集] も参照してください
| コンテナの内容をスワップします (パブリックメンバ関数) | |