libstdc++: Remove un-implementable noexcept from Filesystem TS operations
authorJonathan Wakely <jwakely@redhat.com>
Fri, 4 Feb 2022 15:23:31 +0000 (15:23 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 4 Feb 2022 19:51:26 +0000 (19:51 +0000)
commitda72e0fd20f87bb523a81a505c00546d3622e9dd
tree3955102550af850e020b1ccef3d1eacaaf5b772f
parentebf6175464768983a2d8c82c2d47771ee89192b8
libstdc++: Remove un-implementable noexcept from Filesystem TS operations

LWG 3014 removed these incorrect noexcept specifications from the C++17
std::filesystem operations. They are also incorrect on the experimental
TS versions and should be removed from them too.

libstdc++-v3/ChangeLog:

* include/experimental/bits/fs_ops.h (fs::copy_file): Remove
noexcept.
(fs::create_directories): Likewise.
(fs::remove_all): Likewise.
* src/filesystem/ops.cc (fs::copy_file): Remove noexcept.
(fs::create_directories): Likewise.
(fs::remove_all): Likewise.
libstdc++-v3/include/experimental/bits/fs_ops.h
libstdc++-v3/src/filesystem/ops.cc