table of contents
        
      
      
    
      other versions
    
    - Tumbleweed 2024.07.05-1.3
 - 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)
| 2024.06.10 | http://cppreference.com |