diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-12-02 15:13:52 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-12-03 10:32:26 +0000 |
commit | d1318ebb7d1fb474a3b096406bda759187c56610 (patch) | |
tree | 0103eb65e1ebb12ee357ffb753954e6f882956e3 /libstdc++-v3/include/std/numeric | |
parent | 29bea6921d0e2e3dd20bc78926ef0e98b1b1e4ad (diff) | |
download | gcc-d1318ebb7d1fb474a3b096406bda759187c56610.zip gcc-d1318ebb7d1fb474a3b096406bda759187c56610.tar.gz gcc-d1318ebb7d1fb474a3b096406bda759187c56610.tar.bz2 |
libstdc++: Make std::vector<bool> constructor noexcept (LWG 3778)
LWG 3778 was approved in November 2022. We already implement all the
changes except for one, which this commit does.
The new test verifies all the changes from LWG 3778, not just the one
implemented here.
libstdc++-v3/ChangeLog:
* include/bits/stl_bvector.h (vector(const allocator_type&)):
Add noexcept, as per LWG 3778.
* testsuite/23_containers/vector/bool/cons/lwg3778.cc: New test.
Diffstat (limited to 'libstdc++-v3/include/std/numeric')
0 files changed, 0 insertions, 0 deletions