From 10122a90371dc529b762e8249d8f05188a062a36 Mon Sep 17 00:00:00 2001 From: paolo Date: Mon, 13 Sep 2010 18:23:56 +0000 Subject: 2010-09-13 Matt Austern * src/hash_bytes.cc: New file, exports _Hash_bytes (a Murmur hash), and _Fnv_hash_bytes (based on a FNV algorithm). * src/compatibility-c++0x.cc (hash::operator(), hash::operator(), hash::operator(), hash::operator(), hash::operator()): Adjust, use _Hash_bytes. * include/std/system_error (hash::operator()): Likewise. * include/std/thread (hashoperator()): Likewise. * include/std/bitset (hashoperator()): Likewise. * include/bits/basic_string.h (hash::operator(), hash::operator(), hash::operator(), hash::operator()): Adjust. * include/bits/vector.tcc (hash>::operator()): Adjust. * include/bits/functional_hash.h (_Hash_bytes, _Fnv_hash_bytes): Declare. (struct _Hash_impl, struct _Fnv_hash_impl): Add, use _Hash_bytes and _Fnv_hash_bytes, respectively. (hash::operator(), hash::operator()): Adjust. * config/abi/pre/gnu.ver: Add exports. * src/Makefile.am: Add. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164253 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/config/abi/pre/gnu.ver | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libstdc++-v3/config') diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 3a2856b7d9c..aff2593425e 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1178,6 +1178,12 @@ GLIBCXX_3.4.15 { _ZNSbIwSt11char_traitsIwESaIwEE4backEv; _ZNKSbIwSt11char_traitsIwESaIwEE4backEv; + # Default function. + _ZSt11_Hash_bytesPKv*; + + # FNV hash. + _ZSt15_Fnv_hash_bytesPKv*; + } GLIBCXX_3.4.14; # Symbols in the support library (libsupc++) have their own tag. -- cgit v1.2.1