std::swap(std::basic_filebuf)
来自cppreference.com
< cpp | io | basic filebuf
template< class CharT, class Traits > void swap( std::basic_filebuf<CharT,Traits>& lhs, |
(C++11 起) | |
为 std::basic_filebuf 特化 std::swap 算法。交换 lhs 与 rhs 的内部状态。相当于调用 lhs.swap(rhs)。
目录 |
[编辑] 参数
lhs, rhs | - | 要交换状态的 std::basic_filebuf 对象 |