##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::path::native, operator string_type()

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

const string_type& native() const; | (1) | (filesystem TS)
operator string_type() const; | (2) | (filesystem TS)

Returns the path name converted to the native path encoding.

### [edit] Parameters

(none)

### [edit] Return value

*this

### [edit] Exceptions

`noexcept` specification:
noexcept

### [edit] See also

c_str | 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/native&oldid=68609"
Category:

- unconditionally noexcept