gcc/libstdc++-v3/include/std
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
..
algorithm algorithm: Include <utility>, per UK-300. 2009-11-13 15:06:28 +00:00
array
bitset merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
c++0x_warning.h
chrono chrono (struct __common_rep_type): New. 2009-11-01 00:35:40 +00:00
complex
condition_variable
deque merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
forward_list
fstream
functional re PR libstdc++/41622 ([DR 1245] [c++0x] std::hash<std::string>::operator() copies its argument) 2009-11-19 16:55:25 +00:00
future future: Use base class with nested types. 2009-11-03 00:47:48 +00:00
iomanip
ios
iosfwd user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
iostream
istream istream (operator>>(basic_istream<>&&, _Tp&)): Minor cosmetic changes, inline. 2009-08-03 21:53:25 +00:00
iterator
limits user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
list merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
locale
map merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
memory user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
mutex functional (function): Use explicit operator bool. 2009-05-21 01:12:00 +00:00
numeric
ostream re PR libstdc++/41949 (std::endl documentation contains bad link) 2009-11-06 08:38:02 +00:00
queue
random random.h (class linear_congruential_engine, [...]): Do not use simulated concept checks... 2009-10-12 19:11:31 +00:00
ratio macros.h: Replace @tbd with valid doxygen tag @todo. 2009-06-23 18:51:48 +01:00
regex
set merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
sstream user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
stack
stdexcept
streambuf user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
string
system_error PR c++/38796, Core issue 906 2009-10-26 15:07:14 -04:00
thread forward_list.h (splice_after): Use forward. 2009-07-31 22:26:32 -04:00
tuple re PR libstdc++/41530 ([c++0x] Cannot move-construct std::tuple from a different type of std::tuple) 2009-10-05 17:56:02 +00:00
type_traits type_traits (declval): Add, per DR 1255. 2009-11-13 02:25:12 +00:00
unordered_map merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
unordered_set merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
utility user.cfg.in: Adjust includes. 2009-11-06 22:15:17 +00:00
valarray valarray (valarray<>::operator=(const valarray<>&), [...]): Implement resolution of DR 630, [Ready] in Frankfurt. 2009-07-22 12:19:58 +00:00
vector merge branch profile-stdlib 2009-10-03 02:17:41 +00:00