std::filesyste..._iterator_proxy(3cxx)
π NAME π
std::filesystem::__directory_iterator_proxy β bestie, it's the lil proxy that gets handed back when you post-increment a directory iterator. That's it, that's the job. π
This page lives in the 3cxx manual, so like⦠C++ library docs, iykyk.
β¨ SYNOPSIS β¨
#include <fs_dir.h>
πΈ Public Member Functions πΈ
directory_entry operator* () &&noexceptβ rvalue version, gives you adirectory_entryback, and it'snoexcept, so she's chill, no surprises.const directory_entry & operator* () const &noexceptβ lvalue version, hands back aconst directory_entry &, alsonoexcept. Reference vibes only, no copying.
π«Ά Friends π«Ά
These two get to hang out in the group chat:
class directory_iteratorclass recursive_directory_iterator
π¦ DESCRIPTION π¦
Okay so real talk: this thing is a proxy returned by post-increment on directory iterators. That's the whole lore. π
When you do the post-increment thing on a directory iterator, you don't get the entry directly β you get this lil cutie, and then she dereferences into the actual entry for you. Lowkey iconic, highkey doing the most behind the scenes so your code stays cute. β¨
π AUTHOR π
Generated automatically by Doxygen for libstdc++ from the source code. Not a human author moment, just the machine doing her thing. π€π
No cap, every single detail above is straight from the source β don't @ me, the compiler will. π
That's the whole page, bestie. Docs courtesy of libstdc++, auto-generated by Doxygen. Go forth and iterate. π¦πβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms