##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::path::begin

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

iterator begin() const; |  | (filesystem TS)

Returns an iterator to the first element of the path.

If the path is empty, the returned iterator is equal to end().

### [edit] Parameters

(none)

### [edit] Return value

Iterator to the first element of the path.

### [edit] Exceptions

(none)

### [edit] See also

end | returns an iterator to the end of element list (public member function) [edit]

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