[Bug libstdc++/106932] Incorrect behavior of std::filesystem::copy() with overwrite_existing or update_existing options

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 13 19:43:17 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106932

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Tom Allen from comment #0)
> This appears to be contrary to bullet 4.7.4 in Section 29.11.14.3 of the
> C++20 spec, where for regular files in a source directory, the effect should
> be equivalent to passing any options through to a copy_file() call on each
> file.

No, because f is not a regular file, it's the directory "source".


More information about the Gcc-bugs mailing list