##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::path::c_str

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

const value_type* c_str() const; |  | (filesystem TS)

Returts C-string version of the path.

Equivalent to native().c_str().

### [edit] Parameters

(none)

### [edit] Return value

C-string version of the path name.

### [edit] Exceptions

`noexcept` specification:
noexcept

### [edit] See also

native operator string_type | returns the native version of the path (public member function) [edit]

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

- unconditionally noexcept