std::filesystem::swap(std::filesystem::path)
提供: cppreference.com
< cpp | filesystem | path
ファイルシステムライブラリ
クラス | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
関数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ファイル種別 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::filesystem::path
定数 | ||||
メンバ関数 | ||||
パスの分解 | ||||
非メンバ関数 | ||||
swap(path) | ||||
(C++20未満)(C++20未満)(C++20未満)(C++20未満)(C++20未満)(C++20) | ||||
void swap( path& lhs, path& rhs ) noexcept; | (C++17以上) | |
lhs
と rhs
の状態を交換します。 実質的に lhs.swap(rhs) を呼びます。
[編集] 引数
lhs, rhs | - | 状態を入れ替えるパス |
[編集] 戻り値
(なし)
[編集] 関連項目
2つのパスを入れ替えます (パブリックメンバ関数) [edit] |