std::filesy...or::options(3)

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

πŸŽ€ std::filesy...or::options(3) πŸŽ€

okay so welcome to the C++ Standard Libary manual, bestie β€” yes, that spelling is exactly what the page says, and we are not fixing it because archival girlies don't edit the source. This page is all about std::filesystem::recursive_directory_iterator::options, and it's giving "small but important" energy. πŸ’…

✨ NAME ✨

The name is std::filesystem::recursive_directory_iterator::options. And because the original is extra, it says it again: std::filesystem::recursive_directory_iterator::options. That's the whole NAME section, no cap. πŸ‘‘

πŸ¦‹ Synopsis πŸ¦‹

std::filesystem::directory_options options() const;  (since C++17)

Returns the options that affect the directory iteration β€” like, the actual settings in play for the iteration. The options can only be supplied when constructing the directory iterator. Constructor time only, bestie; you can't slide them in later. 🫢

If the options argument was not supplied, returns std::filesystem::directory_options::none. That's the default vibe. ✨

πŸ’… Parameters πŸ’…

(none) β€” literally none. No parameters here, so no "wait, what do I pass?" panic. πŸŽ€

🌈 Return value 🌈

The effective options that affect the directory iteration. That's what you get back: the options actually in effect for the iteration. πŸ’–

πŸ”₯ Exceptions πŸ”₯

Throws nothing. Zero. Nada. The exception budget is empty, and it ate. πŸ’€


Source/version shoutout: http://cppreference.com, dated 2024.06.10 β€” that's the std::filesy...or::options(3) energy, and we're out. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from