]> git.ipfire.org Git - thirdparty/gcc.git/commit
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>
Mon, 4 Apr 2022 11:45:30 +0000 (12:45 +0100)
commitb8f55f9d21fcaf2a5c8bae40581662db0e67e657
treec7d33faa76d3b58f64b666a7bd6e6d62670d58d6
parentc358b9e49377693fa4c2ef1db1813fb9f2ab4aa2
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.

(cherry picked from commit da72e0fd20f87bb523a81a505c00546d3622e9dd)
libstdc++-v3/include/experimental/bits/fs_ops.h
libstdc++-v3/src/filesystem/ops.cc