2010-03-04 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/util/testsuite_container_traits.h (traits_base): Add has_throwing_erase trait. (traits<vector>, traits<deque>): Typedef the latter to true_type. * testsuite/util/exception/safety.h (generation_prohibited): Do not test vector::erase and deque::erase: can throw if either copy constructor or assignment operator of value_type throws. * testsuite/23_containers/vector/requirements/exception/ generation_prohibited.cc: Remove xfail. * testsuite/23_containers/deque/requirements/exception/ generation_prohibited.cc: Likewise. * include/ext/throw_allocator.h (hash<__gnu_cxx::throw_value_limit>:: operator(), hash<__gnu_cxx::throw_value_random>::operator()): Pass argument by const ref. * testsuite/util/testsuite_container_traits.h (traits<map>, traits<multimap>, traits<set>, traits<multiset>, traits<unordered_map>, traits<unordered_multimap>, traits<unordered_set>, traits<unordered_multiset>): Typedef consistently has_erase and has_insert as true_type. * testsuite/util/testsuite_container_traits.h (traits<unordered_map>, traits<unordered_multimap>, traits<unordered_set>, traits<unordered_multiset>): Do not wrongly typedef has_size_type_constructor as true_type: the constructor accepting a size_type actually gets the initial number of buckets. From-SVN: r157239
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bool | Loading commit data... | |
| capacity | Loading commit data... | |
| cons | Loading commit data... | |
| data_access | Loading commit data... | |
| element_access | Loading commit data... | |
| ext_pointer | Loading commit data... | |
| invalidation | Loading commit data... | |
| modifiers | Loading commit data... | |
| profile | Loading commit data... | |
| requirements | Loading commit data... | |
| resize | Loading commit data... | |
| types | Loading commit data... | |
| 14340.cc | Loading commit data... | |
| 15523.cc | Loading commit data... | |
| 18604.cc | Loading commit data... | |
| 26412-1.cc | Loading commit data... | |
| 26412-2.cc | Loading commit data... | |
| 40192.cc | Loading commit data... | |
| check_construct_destroy.cc | Loading commit data... | |
| debug_mode_requires_reallocation-1.cc | Loading commit data... | |
| debug_mode_requires_reallocation-2.cc | Loading commit data... | |
| init-list.cc | Loading commit data... | |
| zero_sized_allocations.cc | Loading commit data... |