operator/(std::fs::path) - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# operator/(std::fs::path)

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

Defined in header `<fs>` |  |
path operator/( const path& lhs, const path& rhs ); |  | (filesystem TS)

Concatenates two path. Effectively returns path(lhs) /= rhs.

### [edit] Parameters

lhs, rhs | - | paths to concatenate

### [edit] Return value

The result of path concatenation.

### [edit] Exceptions

(none)

### [edit] See also

appendoperator/= | appends elements to the path (public member function) [edit]

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