std::filesystem::swap(std::filesystem::path)
來自 cppreference.com
< cpp | filesystem | path
定義於標頭檔案 <filesystem> |
||
void swap( std::filesystem::path& lhs, std::filesystem::path& rhs ) noexcept; |
(C++17 起) | |
交換 lhs 與 rhs 的狀態。實際呼叫 lhs.swap(rhs)。
[編輯] 引數
lhs, rhs | - | 要交換狀態的路徑 |
[編輯] 返回值
(無)
[編輯] 參閱
交換兩個路徑 (public 成員函式) |