std::filesystem::swap(std::filesystem::path)
From 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 | - | 状態を交換するパス |
[編集] 戻り値
(なし)
[編集] 関連項目
| 2つのパスをスワップします。 (public member function) |