std::filesystem::directory_iterator::operator*, std::filesystem::directory_iterator::operator->
From cppreference.com
 
 
 < cpp | filesystem | directory iterator 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
std::filesystem::directory_iterator 
 
 Member functions
directory_iterator::operator*directory_iterator::operator->
 Non-member functions
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.
Contents
[edit] Parameters
(none)
[edit] Return value
1) Value of the directory_entry referred to by this iterator.
2) Pointer to the directory_entry referred to by this iterator.
[edit] Exceptions
May throw implementation-defined exceptions.
[edit] See also
 
 accesses the pointed-to entry 
(public member function of
(public member function of
std::filesystem::recursive_directory_iterator) [edit]