std::experi...::operator*,(3)
πΈ NAME πΈ
Okay bestie, welcome to the page the header calls std::experi...::operator*,(3) β itβs from the C++ Standard Libary manual (yes, spelled exactly like that in the header, iconic). Itβs all about std::experimental::filesystem::recursive_directory_iterator::operator*, and the NAME line literally lists std::experimental::filesystem::recursive_directory_iterator::operator*, then a -, then std::experimental::filesystem::recursive_directory_iterator::operator*, again. Repetition? Obsessed. π
β¨ Synopsis β¨
const directory_entry& operator*() const; (1) (filesystem TS)
const directory_entry* operator->() const; (2) (filesystem TS)
It accesses the pointed-to directory_entry. β¨
β οΈ Bestie, this is the important part: the result ofoperator*oroperator->on the end iterator is undefined behavior. No cap, do not mess with the end iterator here. π
π§Έ Parameters π§Έ
(none) β literally no parameters, she takes nothing. π
π 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.
π See also π
operator*accesses the pointed-to entryoperator->(public member function ofstd::experimental::filesystem::directory_iterator)
π·οΈ Category π·οΈ
* Noindexed pages
Source/version: http://cppreference.com Β· date: 2024.06.10 Β· footer title: std::experi...::operator*,(3) π«Άβ¨
π¦ 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