std::experimental::filesystem::path::swap

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | path
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals 2 TS)
Extensions for parallelism (parallelism TS)
Concepts (concepts TS)
Extensions for concurrency (concurrency TS)
 
 
 
void swap( path& other );
(1) (filesystem TS)

Swaps the contents of *this and other.

Contents

[edit] Parameters

other - another path to exchange the contents with

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept
  

[edit] Complexity

Constant.

[edit] See also