std::experimental::filesystem::directory_entry
From cppreference.com
                    
                                        
                    < cpp | experimental | fs
                    
                                                            
                    |   Defined in header  <experimental/filesystem>
  | 
||
|   class directory_entry;  | 
(filesystem TS) | |
Represents a directory entry. The objects stores a path and two file_status objects: one for file status and the second for the pointed-to file status if the directory entry refers to a symbolic link.
Member functions
|   constructs a directory entry  (public member function)  | |
|    (destructor)  | 
  default destructor  (public member function)  | 
 Modifiers | |
|   assigns contents  (public member function)  | |
|   assigns contents  (public member function)  | |
|   sets the filename  (public member function)  | |
 Observers | |
|   returns the path the entry refers to  (public member function)  | |
|   cached status of the file designated by this directory entry cached symlink_status of the file designated by this directory entry (public member function)  | |
|   compares two directory entries  (public member function)  | |