diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2016-05-24 20:55:57 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2016-05-24 20:55:57 +0000 |
commit | 732eb07625bc086833506374f1ce452096716874 (patch) | |
tree | 1c97ba8f330c8ef523c1b2d84d0113c5009687c4 /gcc | |
parent | f65e97fd3dc83bdbe6a1415f9527e68c35b841b3 (diff) | |
download | gcc-732eb07625bc086833506374f1ce452096716874.zip gcc-732eb07625bc086833506374f1ce452096716874.tar.gz gcc-732eb07625bc086833506374f1ce452096716874.tar.bz2 |
c++config (_GLIBCXX14_USE_CONSTEXPR): New.
2016-05-24 François Dumont <fdumont@gcc.gnu.org>
* include/bits/c++config (_GLIBCXX14_USE_CONSTEXPR): New.
* include/bits/hashtable_policy.h
(_Prime_rehash_policy::__has_load_factor): New. Mark rehash policy
having load factor management.
(_Mask_range_hashing): New.
(__clp2): New.
(_Power2_rehash_policy): New.
(_Inserts<>): Remove last template parameter, _Unique_keys, so that
partial specializations only depend on whether iterators are constant
or not.
* testsuite/23_containers/unordered_set/hash_policy/26132.cc: Adapt to
test new hash policy.
* testsuite/23_containers/unordered_set/hash_policy/load_factor.cc:
Likewise.
* testsuite/23_containers/unordered_set/hash_policy/rehash.cc:
Likewise.
* testsuite/23_containers/unordered_set/insert/hash_policy.cc:
Likewise.
* testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
Likewise.
* testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc:
New.
* testsuite/performance/23_containers/insert/54075.cc: Add benchmark
using the new hash policy.
* testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
From-SVN: r236669
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions