This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r164253 - in /trunk/libstdc++-v3: ChangeLog con...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 13 Sep 2010 18:23:57 -0000
- Subject: r164253 - in /trunk/libstdc++-v3: ChangeLog con...
Author: paolo
Date: Mon Sep 13 18:23:56 2010
New Revision: 164253
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164253
Log:
2010-09-13 Matt Austern <austern@google.com>
* 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<string>::operator(),
hash<const string&>::operator(), hash<wstring>::operator(),
hash<const wstring&>::operator(), hash<error_code>::operator()):
Adjust, use _Hash_bytes.
* include/std/system_error (hash<error_code>::operator()): Likewise.
* include/std/thread (hash<thread::id>operator()): Likewise.
* include/std/bitset (hash<bitset>operator()): Likewise.
* include/bits/basic_string.h (hash<string>::operator(),
hash<wstring>::operator(), hash<u16string>::operator(),
hash<u32string>::operator()): Adjust.
* include/bits/vector.tcc (hash<vector<bool>>::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<float>::operator(), hash<double>::operator()): Adjust.
* config/abi/pre/gnu.ver: Add exports.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
Added:
trunk/libstdc++-v3/src/hash_bytes.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/abi/pre/gnu.ver
trunk/libstdc++-v3/include/bits/basic_string.h
trunk/libstdc++-v3/include/bits/functional_hash.h
trunk/libstdc++-v3/include/bits/vector.tcc
trunk/libstdc++-v3/include/std/bitset
trunk/libstdc++-v3/include/std/system_error
trunk/libstdc++-v3/include/std/thread
trunk/libstdc++-v3/src/Makefile.am
trunk/libstdc++-v3/src/Makefile.in
trunk/libstdc++-v3/src/compatibility-c++0x.cc