##### 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 ); | (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`.

### [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=84975"
Category:

- Todo without reason