##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::filesystem::recursive_directory_iterator::options

From cppreference.com
< cpp‎ | filesystem‎ | recursive directory iterator

directory_options options() const; |  | (since C++17)

Returns the options that affect the directory iteration. The options can only be supplied when constructing the directory iterator.

If the options argument was not supplied, returns options::none.

### [edit] Parameters

(none)

### [edit] Return value

The effective options that affect the directory iteration.

### [edit] Exceptions

(none)

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/filesystem/recursive_directory_iterator/options&oldid=85025"