std::filesystem::directory_entry
From cppreference.com
                    
                                        
                    < cpp | filesystem
                    
                                                            
                    | Defined in header  <filesystem> | ||
| class directory_entry; | (since C++17) | |
Represents a directory entry. The object stores a path as a member.
[edit] Member functions
| constructs a directory entry (public member function) | |
| 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) | |
| status of the file designated by this directory entry symlink_status of the file designated by this directory entry (public member function) | |
| compares two directory entries (public member function) | |