gcc/libstdc++-v3/testsuite/util
Paolo Carlini 4a85780b75 re PR libstdc++/41622 ([DR 1245] [c++0x] std::hash<std::string>::operator() copies its argument)
2009-11-19  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/41622
	* include/bits/functional_hash.h: Implement inline the various
	std::hash specializations, using, when appropriate, pass by
	const ref too, per DR 1245.
	* include/tr1_impl/functional_hash.h: Remove, move its contents...
	* include/tr1/functional_hash.h: ... here.
	* include/std/functional: Tweak includes.
	* src/hash_c++0x: Rename to...
	* src/compatibility-c++0x.cc: ... this, implementing compatibility
	std::hash<>::operator() specializations.
	* src/hash.cc: Do not mark specializations as throw().
	* src/Makefile.am: Adjust.
	* include/Makefile.am: Likewise.
	* src/Makefile.in: Regenerate.
	* include/Makefile.in: Likewise.
	* testsuite/util/testsuite_api.h: Define a dummy hash for
	NonDefaultConstructible.
	* testsuite/23_containers/unordered_map/requirements/
	explicit_instantiation/2.cc: Use it.
	* testsuite/23_containers/unordered_multimap/requirements/
	explicit_instantiation/2.cc: Likewise.
	* testsuite/23_containers/unordered_set/requirements/
	explicit_instantiation/2.cc: Likewise.
	* testsuite/23_containers/unordered_multiset/requirements/
	explicit_instantiation/2.cc: Likewise.

From-SVN: r154335
2009-11-19 16:55:25 +00:00
..
common_type
hash_fn
io
native_type
performance
regression
statistic
thread
replacement_memory_operators.h re PR libstdc++/40917 (FAIL: ext/array_allocator/check_delete.cc (test for excess errors)) 2009-07-30 21:02:44 +00:00
testsuite_abi_check.cc
testsuite_abi.cc re PR c++/39131 (decimal float point: ICE on typeid( 0.dd )) 2009-11-11 23:44:24 -05:00
testsuite_abi.h
testsuite_allocator.cc
testsuite_allocator.h
testsuite_api.h re PR libstdc++/41622 ([DR 1245] [c++0x] std::hash<std::string>::operator() copies its argument) 2009-11-19 16:55:25 +00:00
testsuite_character.cc
testsuite_character.h
testsuite_common_types.h
testsuite_container_traits.h basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
testsuite_containers.h basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
testsuite_error.h
testsuite_hooks.cc
testsuite_hooks.h move.h (_GLIBCXX_FORWARD): Add. 2009-08-29 19:27:05 +00:00
testsuite_io.h
testsuite_iterators.h testsuite_rvalref.h: Remove obsolete macro using _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING. 2009-09-01 10:19:11 +00:00
testsuite_performance.h
testsuite_rng.h
testsuite_rvalref.h testsuite_rvalref.h: Remove obsolete macro using _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING. 2009-09-01 10:19:11 +00:00
testsuite_shared.cc
testsuite_tr1.h