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) | (seit C++17) |
Tauscht die Inhalte (sowohl natives als auch generisches Format) von
*
this
und
other
.
Inhaltsverzeichnis |
Parameter
| other | - | ein weiterer Weg zum Austausch der Inhalte mit |
Rückgabewert
(keine)
Komplexität
Konstante.
Siehe auch
|
(C++17)
|
spezialisiert den
std::swap
Algorithmus
(Funktion) |