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

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

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

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

void assign( const path& p, file_status status = file_status(), file_status symlink_status = file_status() ); |  | (filesystem TS)

Assigns new content to the directory entry object. Sets the path to `p`, file status to `status` and symlink status to `symlink_status`.

### [edit] Parameters

| This section is incomplete

### [edit] Return value

(none)

### [edit] Exceptions

| This section is incomplete

### [edit] See also

operator= | assigns contents (public member function) [edit]

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

- Todo without reason