std::experimental::filesystem::path::swap - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

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

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | path

void swap( path& other ); | (1) | (filesystem TS)

Swaps the contents of *this and `other`.

### [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

| This section is incomplete

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/path/swap&oldid=68641"
Categories:

- unconditionally noexcept
- Todo without reason