std::swap(std::list)
Материал из cppreference.com
|
|
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( list<> &lhs, |
||
Специализируется std::swap алгоритм std::list. Меняет местами содержимое
lhs и rhs. Звонки lhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::list. 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.
[править] См. также
| обмениевает содержимое (public функция-член) | |