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::swapstd::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.
[编辑] 為例
| 本節是不完整的 原因: no example |
[编辑] 另請參閱
| (C++11) |
swaps two string streams (公共成員函數) |