# 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.

### Member functions

(constructor) | constructs a directory entry (public member function)
(destructor) | default destructor (public member function)

##### Modifiers

operator= | assigns contents (public member function)
assign | assigns contents (public member function)
replace_filename | sets the filename (public member function)

##### Observers

path operator const path& | returns the path the entry refers to (public member function)
status symlink_status | status of the file designated by this directory entry symlink_status of the file designated by this directory entry (public member function)
operator==operator!=operator<operator<=operator>operator>= | compares two directory entries (public member function)

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/filesystem/directory_entry&oldid=84986"