diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-05-26 21:33:58 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-05-31 13:17:45 +0100 |
commit | b960c253e988c68ed3f3829125bc267bdf169356 (patch) | |
tree | a7af09ef77efccf2db6cff39bdf2cb72ad2637b0 /gcc | |
parent | f150a084e25eaa98afaf25e2211001047ecc8d44 (diff) | |
download | gcc-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