命名空间
变体
操作

std::filesystem::path::swap

来自 cppreference.cn
< cpp‎ | filesystem‎ | path
 
 
 
 
void swap( path& other ) noexcept;
(1) (C++17 起)

交换 *thisother 的内容(包括原生和通用格式)。

目录

[edit] 参数

other - 另一个用于交换内容的路径

[edit] 返回值

(无)

[edit] 复杂度

常数。

[edit] 参见

特化 std::swap 算法
(function) [edit]