2012-10-18 François Dumont <fdumont@gcc.gnu.org> * include/debug/formatter.h (_Debug_msg_id): Add __msg_valid_load_factor. * include/debug/macros.h (__glibcxx_check_max_load_factor): New. * include/debug/unordered_set (unordered_set<>::max_load_factor(float)): Check max load factor is positive. (unordered_multiset<>::max_load_factor(float)): Likewise. * include/debug/unordered_map (unordered_map<>::max_load_factor(float)): Likewise. (unordered_multimap<>::max_load_factor(float)): Likewise. * testsuite/23_containers/unordered_map/debug/max_load_factor_neg.cc: New. * testsuite/23_containers/unordered_multimap/debug/ max_load_factor_neg.cc: New. * testsuite/23_containers/unordered_set/debug/max_load_factor_neg.cc: New. * testsuite/23_containers/unordered_multiset/debug/ max_load_factor_neg.cc: New. From-SVN: r192575
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| chrono.cc | Loading commit data... | |
| compatibility-atomic-c++0x.cc | Loading commit data... | |
| compatibility-c++0x.cc | Loading commit data... | |
| compatibility-thread-c++0x.cc | Loading commit data... | |
| condition_variable.cc | Loading commit data... | |
| debug.cc | Loading commit data... | |
| fstream-inst.cc | Loading commit data... | |
| functexcept.cc | Loading commit data... | |
| functional.cc | Loading commit data... | |
| future.cc | Loading commit data... | |
| hash_c++0x.cc | Loading commit data... | |
| hashtable_c++0x.cc | Loading commit data... | |
| limits.cc | Loading commit data... | |
| mutex.cc | Loading commit data... | |
| placeholders.cc | Loading commit data... | |
| random.cc | Loading commit data... | |
| regex.cc | Loading commit data... | |
| shared_ptr.cc | Loading commit data... | |
| string-inst.cc | Loading commit data... | |
| system_error.cc | Loading commit data... | |
| thread.cc | Loading commit data... | |
| wstring-inst.cc | Loading commit data... |