2013-02-04 François Dumont <fdumont@gcc.gnu.org>
commit23d376822b3cbecc7adbc64659f48bdf3d113832
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Feb 2013 21:14:07 +0000 (4 21:14 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Feb 2013 21:14:07 +0000 (4 21:14 +0000)
treeff7ddf9a008fd3fd07840be0618a5767dbf5ca34
parentec7e9f786f28d4410e09adbbbae1dc8d1d4e14fe
2013-02-04  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/functional_hash.h (std::__is_fast_hash<>): New.
* include/bits/basic_string.h: Specialize previous to mark
std::hash for string types as slow.
* include/bits/hashtable.h (__cache_default): Replace is_integral
with __is_fast_hash.
* src/c++11/hash_c++0x.cc: Add type_traits include.
* testsuite/23_containers/unordered_set/instantiation_neg.cc:
Adapt dg-error line number.
* testsuite/23_containers/unordered_set/
not_default_constructible_hash_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195738 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h
libstdc++-v3/include/bits/functional_hash.h
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/src/c++11/hash_c++0x.cc
libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_set/not_default_constructible_hash_neg.cc