std::filesystem::path:: swap
From cppreference.net
<
cpp
|
filesystem
|
path
C++
std::filesystem::path
| Member types | ||||||||||||||||||||||||||
| Member constants | ||||||||||||||||||||||||||
| Member functions | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Path decomposition | ||||||||||||||||||||||||||
| Non-member functions | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Helper classes | ||||||||||||||||||||||||||
|
void
swap
(
path
&
other
)
noexcept
;
|
(1) | (C++17以降) |
*
this
と
other
の内容(ネイティブ形式とジェネリック形式の両方)を交換します。
目次 |
パラメータ
| other | - | 内容を交換するための別のパス |
戻り値
(なし)
計算量
定数。
関連項目
|
(C++17)
|
std::swap
アルゴリズムを特殊化する
(関数) |