const std::filesystem::directory_entry& operator*() const; | (1) | (since C++17) |
const std::filesystem::directory_entry* operator->() const; | (2) | (since C++17) |
Accesses the pointed-to directory_entry
.
The result of operator*
or operator->
on the end iterator is undefined behavior.
(none).
directory_entry
referred to by this iterator.directory_entry
referred to by this iterator.May throw implementation-defined exceptions.
accesses the pointed-to entry (public member function of std::filesystem::recursive_directory_iterator ) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/filesystem/directory_iterator/operator*