table of contents
std::filesystem::swap(std::filesystem::path)(3) | C++ Standard Libary | std::filesystem::swap(std::filesystem::path)(3) |
NAME¶
std::filesystem::swap(std::filesystem::path) - std::filesystem::swap(std::filesystem::path)
Synopsis¶
Defined in header <filesystem>
void swap( std::filesystem::path& lhs, std::filesystem::path& rhs )
(since C++17)
noexcept;
Exchanges the state of lhs with that of rhs. Effectively calls
lhs.swap(rhs).
Parameters¶
lhs, rhs - paths whose states to swap
Return value¶
(none)
See also¶
swap swaps two paths
(public member function)
2022.07.31 | http://cppreference.com |