std::swap(std::basic_filebuf)
来自 cppreference.cn
< cpp | io | basic filebuf
template< class CharT, class Traits > void swap( std::basic_filebuf<CharT,Traits>& lhs, |
(since C++11) | |
为 std::basic_filebuf 重载 std::swap 算法。交换 lhs 与 rhs 的状态。实际等效于调用 lhs.swap(rhs)。
内容 |
[编辑] 参数
lhs, rhs | - | std::basic_filebuf 对象,要交换状态 |
[编辑] 返回值
(无)
[编辑] 示例
此章节不完整 原因:没有示例 |
[编辑] 参见
(C++11) |
swap 交换两个 basic_filebuf 对象 (公有成员函数) |
交换两个对象的值 (函数模板) |