std::filesystem::directory_options
文件系统::目录[医]备选方案
Defined in header | | |
---|---|---|
enum class directory_options { none = /* unspecified */, follow_directory_symlink = /* unspecified */, skip_permission_denied = /* unspecified */ }; | | (since C++17) |
此类型表示控制directory_iterator
和recursive_directory_iterator
...
directory_options
满足…的要求BitmaskType
%28,这意味着按位运算符operator&
,,,operator|
,,,operator^
,,,operator~
,,,operator&=
,,,operator|=
,和operator^=
为此类型%29定义。
成员常数
Member constant | Meaning |
---|---|
none | (Default) Skip directory symlinks, permission denied is error. |
follow_directory_symlink | Follow rather than skip directory symlinks. |
skip_permission_denied | Skip directories that would otherwise result in permission denied errors. |
另见
(constructor) | constructs a directory iterator (public member function of std::filesystem::directory_iterator) |
---|---|
(constructor) | constructs a recursive directory iterator (public member function of std::filesystem::recursive_directory_iterator) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。