std::filesy...::operator*,(3)
π NAME π
This is the std::filesy...::operator*,(3) page from the C++ Standard Libary manual, bestie β yes, the typo is in the manual name, not you. The NAME section is literally about std::filesystem::directory_iterator::operator*,, and the raw NAME lines are std::filesystem::directory_iterator::operator*, - and std::filesystem::directory_iterator::operator*,. Slay. β¨
πΈ Synopsis πΈ
const std::filesystem::directory_entry& operator*() const; (1)
(since C++17)
const std::filesystem::directory_entry* operator->() const; (2)
(since C++17)
Both of these access the pointed-to directory_entry. The result of operator* or operator-> on the end iterator is undefined behavior β like, do not, fr fr ππ.
π Parameters π
(none) β no parameters at all. Zero. Nada. π«Ά
β Return value β
- Value of the
directory_entryreferred to by this iterator. - Pointer to the
directory_entryreferred to by this iterator.
π₯ Exceptions π₯
May throw implementation-defined exceptions. That's the tea. β
π See also π
operator*β accesses the pointed-to entryoperator->β(public member function of std::filesystem::recursive_directory_iterator)
xoxo, your Unix bestie π
β source: http://cppreference.com, version/date: 2024.06.10, page: std::filesy...::operator*,(3). Bye bestie! πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms