Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::filesystem::directory_options

      From cppreference.com
      <cpp‎ |filesystem
       
       
      Filesystem library
      Classes
      Functions
      File types
       
      Defined in header<filesystem>
      enumclass directory_options{

          none=/* unspecified */,
          follow_directory_symlink=/* unspecified */,
          skip_permission_denied=/* unspecified */

      };
      (since C++17)

      This type represents available options that control the behavior of thedirectory_iterator andrecursive_directory_iterator.

      directory_options satisfies the requirements ofBitmaskType (which means the bitwise operatorsoperator&,operator|,operator^,operator~,operator&=,operator|=, andoperator^= are defined for this type).none represents the empty bitmask; every other enumerator represents a distinct bitmask element.

      [edit]Constants

      Enumerator 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

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      constructs a directory iterator
      (public member function ofstd::filesystem::directory_iterator)[edit]
      constructs a recursive directory iterator
      (public member function ofstd::filesystem::recursive_directory_iterator)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/filesystem/directory_options&oldid=182087"

      [8]ページ先頭

      ©2009-2025 Movatter.jp