std::swap(std::basic_ostringstream)
Материал из cppreference.com
< cpp | io | basic ostringstream
|
|
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 T > void swap( basic_ostringstream<T> &lhs, basic_ostringstream<T> &rhs ); |
||
Специализируется std::swap алгоритм std::basic_ostringstream. Обмен состояние
lhs с деятельностью rhs. Эффективно называет lhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::basic_ostringstream. 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: streams whose state 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.
[править] Исключения
(Нет)
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.
[править] Пример
| Этот раздел не завершён Причина: нет примера |
[править] См. также
| (C++11) |
swaps two string streams (public функция-член) |