Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array | ||
bitset | ||
deque | ||
forward_list | ||
headers | ||
list | ||
map | ||
multimap | ||
multiset | ||
priority_queue | ||
queue | ||
set | ||
stack | ||
unordered_map | ||
unordered_multimap | ||
unordered_multiset | ||
unordered_set | ||
vector |
If the allocator isn't default constructible then checking if the default constructor throws in an exception specification makes the declaration invalid. Use the type trait instead. PR libstdc++/87809 * include/bits/forward_list.h (_Fwd_list_impl::_Fwd_list_impl()): Use trait in exception-specification instead of possibly invalid expression. * include/bits/stl_bvector.h (_Bvector_impl::_Bvector_impl()): Likewise. * include/bits/stl_list.h (_List_impl::_List_impl()): Likewise. * include/bits/stl_vector.h (_Vector_impl::_Vector_impl()): Likewise. * testsuite/23_containers/forward_list/cons/87809.cc: New test. * testsuite/23_containers/list/cons/87809.cc: New test. * testsuite/23_containers/vector/bool/cons/87809.cc: New test. * testsuite/23_containers/vector/cons/87809.cc: New test. From-SVN: r265626
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array | Loading commit data... | |
bitset | Loading commit data... | |
deque | Loading commit data... | |
forward_list | Loading commit data... | |
headers | Loading commit data... | |
list | Loading commit data... | |
map | Loading commit data... | |
multimap | Loading commit data... | |
multiset | Loading commit data... | |
priority_queue | Loading commit data... | |
queue | Loading commit data... | |
set | Loading commit data... | |
stack | Loading commit data... | |
unordered_map | Loading commit data... | |
unordered_multimap | Loading commit data... | |
unordered_multiset | Loading commit data... | |
unordered_set | Loading commit data... | |
vector | Loading commit data... |