diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-12-12 23:24:39 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-12-13 13:04:37 +0000 |
commit | 233860f005ccd76c7604cf0eac18b9eda3d984f4 (patch) | |
tree | 24d6d0569d02d2a4d152d33bf310cae5f065e772 /libgo | |
parent | ba1b6ed1c91ef310b19a2f33523b97f026750303 (diff) | |
download | gcc-233860f005ccd76c7604cf0eac18b9eda3d984f4.zip gcc-233860f005ccd76c7604cf0eac18b9eda3d984f4.tar.gz gcc-233860f005ccd76c7604cf0eac18b9eda3d984f4.tar.bz2 |
libstdc++: Swap expressions in noexcept-specifier of ranges::not_equal_to
Although this should never make a difference for sensible code, we
should really make the expression in the noexcept-specifier match the
expression in the function body.
libstdc++-v3/ChangeLog:
* include/bits/ranges_cmp.h (not_equal_to): Make order of
expressions in noexcept-specifier match the body.
* testsuite/20_util/function_objects/range.cmp/not_equal_to.cc:
Check noexcept.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions