std::filesystem::swap(std::filesystem::path)
来自 cppreference.cn
< cpp | filesystem | path
定义于头文件 <filesystem> |
||
void swap( std::filesystem::path& lhs, std::filesystem::path& rhs ) noexcept; |
(C++17 起) | |
交换 lhs 和 rhs 的状态。 实际上调用 lhs.swap(rhs)。
[编辑] 参数
lhs, rhs | - | 要交换状态的路径 |
[编辑] 返回值
(无)
[编辑] 参见
交换两个路径 (公共成员函数) |