std::experimental::filesystem::directory_entry::directory_entry - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::directory_entry::directory_entry

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | directory entry

directory_entry() = default; | (1) | (filesystem TS)
directory_entry( const directory_entry& ) = default; | (2) | (filesystem TS)
directory_entry( directory_entry&& ) = default; | (3) | (filesystem TS)
explicit directory_entry( const path& p, file_status status = file_status(), file_status symlink_status = file_status() ); | (4) | (filesystem TS)

Constructs a new `directory_entry` object.

1) Default constructor.
2) Default copy constructor.
3) Default move constructor.
4) Initializes the directory entry with path `p` and file and symlink statuses initialized to `status` and `file_status` respectively.

### [edit] Parameters

| This section is incomplete

### [edit] Exceptions

| This section is incomplete

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/directory_entry/directory_entry&oldid=68503"
Category:

- Todo without reason