diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-05 01:51:56 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-05 01:51:56 +0000 |
| commit | 57dca93b35bbf9d8867af1bc4d7fe472fc45f987 (patch) | |
| tree | c991893918a37695a0f5bf9ecd2333d472922937 /libjava/classpath/lib/gnu/java/text/LineBreakIterator.class | |
| parent | e29d23fee81e144fd16071b7a6b5e58d1c9a9c38 (diff) | |
| download | ppe42-gcc-57dca93b35bbf9d8867af1bc4d7fe472fc45f987.tar.gz ppe42-gcc-57dca93b35bbf9d8867af1bc4d7fe472fc45f987.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/gnu/java/text/LineBreakIterator.class')
0 files changed, 0 insertions, 0 deletions

