std::experi...ory_options(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

std::experimental::filesystem::directory_options β€” std::experimental::filesystem::directory_options

okay so bestie, this is the std::experi...ory_options(3) page from the C++ Standard Libary, and the NAME is literally the same thing on both sides of the dash. iconic, honestly. πŸ’…

✨ Synopsis ✨

Defined in header <experimental/filesystem> β€” first things first, bestie. πŸŽ€

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. like, it’s the little options menu for iterating through directories, no cap. πŸ¦‹

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). so you can bitmask away, bestie. ✨

πŸŽ€ Member constants πŸŽ€

  • none β€” value 0 β€” (Default) Skip directory symlinks, permission denied is error.
  • follow_directory_symlink β€” value 1 β€” Follow rather than skip directory symlinks.
  • skip_permission_denied β€” value 2 β€” Skip directories that would otherwise result in permission denied errors.

πŸ¦‹ See also πŸ¦‹

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

🌈 Category 🌈

  • Noindexed pages

mwah πŸ’‹ this page is signed off by http://cppreference.com on 2024.06.10, with std::experi...ory_options(3) riding shotgun. bye bestie, go iterate something cute 🫢🌸

πŸ“¦ where this page comes from