Proposed resolution:
Modify paragraph 3 of [fs.op.copy] as shown:
Effects: Before the first use of
f
andt
:
— If(options & copy_options::create_symlinks) != copy_options::none || (options & copy_options::skip_symlinks) != copy_options::none
thenauto f = symlink_status(from)
and if neededauto t = symlink_status(to)
.
— Otherwise, if(options & copy_options::copy_symlinks) != copy_options::none
thenauto f = symlink_status(from)
and if neededauto t = status(to)
.
— Otherwise,auto f = status(from)
and if neededauto t = status(to)
.