This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r157005 - in /trunk/libstdc++-v3: ChangeLog inc...


Author: paolo
Date: Tue Feb 23 15:23:37 2010
New Revision: 157005

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157005
Log:
2010-02-23  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/functional_hash.h (struct _Fnv_hash): Rename
	to _Fnv_hash_base.
	(struct _Fnv_hash): Add, derives from the latter.
	(__hash_combine): Add.
	(hash<float>::operator()(float), hash<double>::operator()(double)):
	Adjust.
	* include/bits/basic_string.h (hash<string>, hash<wstring>,
	hash<u16string>, hash<u32string>): Adjust.
	* src/hash-string-aux.cc: Adjust.
	* src/compatibility-c++0x.cc (hash<error_code>): Use __hash_combine.
	* include/std/system_error (hash<error_code>): Likewise.
	* include/std/thread (struct hash<thread::id>): Add.
	* include/tr1/functional_hash.h : Rename to _Fnv_hash_base.
	(struct _Fnv_hash): Add, derives from the latter.
	(hash<float>::operator()(float), hash<double>::operator()(double)):
	Adjust.
	* testsuite/30_threads/thread/id/hash.cc: New.
	* testsuite/30_threads/thread/cons/assign_neg.cc: Adjust dg-error
	line number.
	* testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.

Added:
    trunk/libstdc++-v3/testsuite/30_threads/thread/id/hash.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/basic_string.h
    trunk/libstdc++-v3/include/bits/functional_hash.h
    trunk/libstdc++-v3/include/std/system_error
    trunk/libstdc++-v3/include/std/thread
    trunk/libstdc++-v3/include/tr1/functional_hash.h
    trunk/libstdc++-v3/src/compatibility-c++0x.cc
    trunk/libstdc++-v3/src/hash-string-aux.cc
    trunk/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc
    trunk/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]