std::filesystem::directory_entry - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# 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

(constructor) | constructs a directory entry (public member function) [edit]
(destructor) | default destructor (public member function) [edit]
##### Modifiers
operator= | assigns contents (public member function) [edit]
assign | assigns contents (public member function) [edit]
replace_filename | sets the filename (public member function) [edit]
##### Observers
pathoperator const path& | returns the path the entry refers to (public member function) [edit]
statussymlink_status | status of the file designated by this directory entry symlink_status of the file designated by this directory entry (public member function) [edit]
operator==operator!=operator<operator<=operator>operator>= | compares two directory entries (public member function) [edit]

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