table of contents
other versions
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
- Leap-15.6
| 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)
| 2026.11.10 | http://cppreference.com |