std::experimental::filesystem::copy_symlink
From cppreference.com
< cpp | experimental | fs
| Defined in header <experimental/filesystem>
|
||
| void copy_symlink( const path& from, const path& to); |
(1) | (filesystem TS) |
| void copy_symlink( const path& from, const path& to, error_code& ec ); |
(2) | (filesystem TS) |
Copies a symlink to another location.
1) Effectively calls f(read_symlink(from), to) where
f is create_symlink() or create_directory_symlink depending on whether from resolves to a file or directory.2) Effectively calls f(read_symlink(from, ec), to, ec) where
f is create_symlink() or create_directory_symlink depending on whether from resolves to a file or directory.| This section is incomplete Reason: errors |
Contents |
[edit] Parameters
| from | - | path to a symbolic link to copy |
| to | - | destination path of the new symlink |
| ec | - | error code to store the error status |
[edit] Return value
(none)
[edit] Exceptions
| This section is incomplete |
2)
noexcept specification:
noexcept
[edit] See also
| This section is incomplete |