W3cubDocs

/C++

std::filesystem::recursive_directory_iterator::options

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.

Parameters

(none).

Return value

The effective options that affect the directory iteration.

Exceptions

(none).

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/filesystem/recursive_directory_iterator/options