Scroll to navigation

std::experimental::filesystem::directory_options(3) C++ Standard Libary std::experimental::filesystem::directory_options(3)

NAME

std::experimental::filesystem::directory_options - std::experimental::filesystem::directory_options

Synopsis


Defined in header <experimental/filesystem>
enum class directory_options {


none,
follow_directory_symlink, (filesystem TS)
skip_permission_denied


};


This type represents available options that control the behavior of the
directory_iterator and recursive_directory_iterator.


directory_options satisfies the requirements of BitmaskType (which means the bitwise
operators operator&, operator|, operator^, operator~, operator&=, operator|=, and
operator^= are defined for this type).

Member constants


Member constant Value Meaning
none 0 (Default) Skip directory symlinks, permission denied
is error.
follow_directory_symlink 1 Follow rather than skip directory symlinks.
skip_permission_denied 2 Skip directories that would otherwise result in
permission denied errors.

See also


constructs a directory iterator
constructor (public member function of
std::experimental::filesystem::directory_iterator)
constructs a recursive directory iterator
constructor (public member function of
std::experimental::filesystem::recursive_directory_iterator)

Category:


* Noindexed pages

2024.06.10 http://cppreference.com