std::swap(std::unordered_map)
来自cppreference.com
< cpp | container | unordered map
|
|
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:page template
| template< > void swap( unordered_map<> &lhs, |
(C++11 起) | |
專為std::swapstd::unordered_map演算法。
lhs和rhs交換的內容。呼叫lhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::unordered_map. 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.
[编辑] 另請參閱
| 交換的內容 Original: swaps the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成員函數) | |