Namespaces
Variants

std::filesystem::path:: swap

From cppreference.net
void swap ( path & other ) noexcept ;
(1) (自 C++17 起)

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

目录

参数

其他 - 用于交换内容的另一路径

返回值

(无)

复杂度

常量。

参阅

特化 std::swap 算法
(函数)