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

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::copy

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

Defined in header `<experimental/filesystem>` |  |
void copy( const path& from, const path& to ); | (1) | (filesystem TS)
void copy( const path& from, const path& to, error_code& ec ); | (2) | (filesystem TS)
void copy( const path& from, const path& to, copy_options options ); | (3) | (filesystem TS)
void copy( const path& from, const path& to, copy_options options, error_code& ec ); | (4) | (filesystem TS)

Copies file or directory.

| This section is incomplete

### [edit] Parameters

| This section is incomplete

ec | - | error code to store error status to

### [edit] Return value

(none)

### [edit] Exceptions

| This section is incomplete

2,4)
`noexcept` specification:
noexcept

### [edit] See also

| This section is incomplete

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/copy&oldid=68483"
Categories:

- Todo without reason
- unconditionally noexcept