aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-05-26 21:33:58 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-05-31 13:17:45 +0100
commitb960c253e988c68ed3f3829125bc267bdf169356 (patch)
treea7af09ef77efccf2db6cff39bdf2cb72ad2637b0 /gcc
parentf150a084e25eaa98afaf25e2211001047ecc8d44 (diff)
downloadgcc-b960c253e988c68ed3f3829125bc267bdf169356.zip
gcc-b960c253e988c68ed3f3829125bc267bdf169356.tar.gz
gcc-b960c253e988c68ed3f3829125bc267bdf169356.tar.bz2
libstdc++: Add missing noexcept to std::scoped_allocator_adaptor
The standard requires these constructors and accessors to be noexcept. libstdc++-v3/ChangeLog: * include/std/scoped_allocator (scoped_allocator_adaptor): Add noexcept to all constructors except the default constructor. (scoped_allocator_adaptor::inner_allocator): Add noexcept. (scoped_allocator_adaptor::outer_allocator): Likewise. * testsuite/20_util/scoped_allocator/noexcept.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions