std::swap(std::basic_filebuf)
来自cppreference.com
< cpp | io | basic filebuf
|
|
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 CharT, class Traits > void swap(std::basic_filebuf<CharT, Traits>& lhs, |
(C++11 起) | |
过载的std::swap为std::basic_filebuf算法。交易
lhs的rhs的状态。有效地调用lhs.swap(rhs).Original:
Overloads the std::swap algorithm for std::basic_filebuf. 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 | - | std::basic_filebuf交换对象的状态
Original: std::basic_filebuf objects whose states 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.
[编辑] 为例
| 本节是不完整的 原因: no example |
[编辑] 另请参阅
| (C++11) |
交换两个basic_filebuf对象 Original: swaps two basic_filebuf objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数) |
| 掉期两个对象的值 Original: swaps the values of two objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数模板) | |