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.

Contents

[edit] Parameters

ec - error code to store error status to

[edit] Return value

(none)

[edit] Exceptions

2,4)
noexcept specification:  
noexcept
  

[edit] See also