std::filesyste..._iterator_proxy(3cxx)

πŸ“¦
version 12-20220319 Β· 3 versions
, in ubuntu jammy

πŸ¦‹ std::filesystem::__directory_iterator_proxy πŸ¦‹

okay so you're in the 3cxx manual section bestie, and today we're talking about the proxy returned by post-increment on directory iterators. she's a little behind-the-scenes diva, but she matters, i promise πŸ’…


✨ NAME ✨

std::filesystem::__directory_iterator_proxy β€” the proxy that gets handed back to you when you post-increment a directory iterator. that's it, that's the job πŸŽ€


✨ SYNOPSIS ✨

🫢 Public Member Functions

  • directory_entry operator* () &&noexcept β€” the rvalue version, and yeah she's noexcept, no drama allowed πŸ’–
  • const directory_entry & operator* () const &noexcept β€” the const-lvalue version, also noexcept, also unbothered πŸ‘‘

🌸 Friends

  • class directory_iterator
  • class recursive_directory_iterator

like, these two are literally in her inner circle, they get access, it's giving private-but-with-besties energy πŸ’œ


✨ Detailed Description ✨

Proxy returned by post-increment on directory iterators.

fr fr that's the whole vibe. she exists because post-increment on directory iterators needed something to hand back, and that something is her 🌈

Definition at line 357 of file bits/fs_dir.h. β€” yes bestie, line 357, go look, she's right there πŸ“


✨ Author ✨

Generated automatically by Doxygen for libstdc++ from the source code. 😭 so no, there's no sad little human who wrote this by hand β€” Doxygen did it, straight from the source, machine-made and still eating πŸ’€βœ¨


and that's the whole page, mwah πŸ’‹

this one came to you courtesy of libstdc++, dated Sat Mar 1 β€” periodt, go forth and post-increment responsibly πŸ¦‹πŸ’–

πŸ“¦ where this page comes from