diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-02-28 14:45:18 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2024-02-28 14:50:13 +0000 |
commit | 80c386cb20d38ebc55f30a79418fabfbed904b87 (patch) | |
tree | 522342a5d00b1e69eb178034eccad744dc97e756 /gcc | |
parent | 06866bc368f828fa4f3dad25588d038414944c2e (diff) | |
download | gcc-80c386cb20d38ebc55f30a79418fabfbed904b87.zip gcc-80c386cb20d38ebc55f30a79418fabfbed904b87.tar.gz gcc-80c386cb20d38ebc55f30a79418fabfbed904b87.tar.bz2 |
libstdc++: Fix noexcept on dtors in <experimental/scope> [PR114152]
The PR points out that the destructors all have incorrect
noexcept-specifiers.
libstdc++-v3/ChangeLog:
PR libstdc++/114152
* include/experimental/scope (scope_exit scope_fail): Make
destructor unconditionally noexcept.
(scope_sucess): Fix noexcept-specifier.
* testsuite/experimental/scopeguard/114152.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions