diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-08-16 18:00:08 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-08-17 14:22:49 +0100 |
commit | 42cfa1bd6c05f2dc0d6269155950d16064310f56 (patch) | |
tree | 2ee68c91791691e9768c962747e9613dcb866067 /gcc/fortran/st.c | |
parent | 2db38d9fcacf522fe9b98ba847e79ba33abdcadc (diff) | |
download | gcc-42cfa1bd6c05f2dc0d6269155950d16064310f56.zip gcc-42cfa1bd6c05f2dc0d6269155950d16064310f56.tar.gz gcc-42cfa1bd6c05f2dc0d6269155950d16064310f56.tar.bz2 |
libstdc++: Add conditional noexcept to std::exchange
This is not required by the standard, but seems useful.
Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:
* include/std/utility (exchange): Add noexcept-specifier.
* testsuite/20_util/exchange/noexcept.cc: New test.
Diffstat (limited to 'gcc/fortran/st.c')
0 files changed, 0 insertions, 0 deletions