std::filesystem::path::swap
Min standard notice:
Swaps the contents (both native and generic format) of *this and other.
# Declarations
void swap( path& other ) noexcept;
(since C++17)
# Parameters
other: another path to exchange the contents with
# Return value
(none)