29 Input/output library [input.output]

29.11 File systems [filesystems]

29.11.14 Filesystem operation functions [fs.op.funcs]

29.11.14.5 Copy symlink [fs.op.copy.symlink]

void copy_symlink(const path& existing_symlink, const path& new_symlink); void copy_symlink(const path& existing_symlink, const path& new_symlink, error_code& ec) noexcept;
Effects: Equivalent to function(read_­symlink(existing_­symlink), new_­symlink) or
function(read_­symlink(existing_­symlink, ec), new_­symlink, ec), respectively, where in each case function is create_­symlink or create_­directory_­symlink as appropriate.
Throws: As specified in [fs.err.report].