gcc/libstdc++-v3/include/std
François Dumont 181a5a136f 2012-08-10 François Dumont <fdumont@gcc.gnu.org>
Ollie Wild  <aaw@google.com>

	* include/bits/hashtable.h
	(_Hashtable<>_M_insert_multi_node(hash_code, node_type*)): New.
	(_Hashtable<>_M_insert(_Args&&, false_type)): Use latter.
	(_Hashtable<>::_M_emplace(false_type, _Args&&...)): Likewise.
	(_Hashtable<>::_M_insert_bucket): Replace by ...
	(_Hashtable<>::_M_insert_unique_node(size_type, hash_code, node_type*)):
	... this, new.
	(_Hashtable<>::_M_insert(_Args&&, true_type)): Use latter.
	(_Hashtable<>::_M_emplace(true_type, _Args&&...)): Likewise.
	* include/bits/hashtable_policy.h (_Map_base<>::operator[]): Use
	latter, emplace the value_type rather than insert.
	* include/std/unordered_map: Include tuple.
	* include/std/unordered_set: Likewise.
	* testsuite/util/testsuite_counter_type.h: New.
	* testsuite/23_containers/unordered_map/operators/2.cc: New.

Co-Authored-By: Ollie Wild <aaw@google.com>

From-SVN: r190355
2012-08-13 19:43:19 +00:00
..
algorithm algorithm: Include <utility>, per UK-300. 2009-11-13 15:06:28 +00:00
array re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
atomic re PR libstdc++/54005 (Use __atomic_always_lock_free in libstdc++ is_lock_free instead of __atomic_is_lock_free) 2012-08-07 23:03:55 +00:00
bitset random.tcc (seed_seq::generate): Cast max() operands to size_t to ensure a template match. 2012-05-10 16:32:47 -04:00
chrono acinclude.m4: Update references to final C++11 standard. 2012-08-09 23:45:20 +01:00
complex user.cfg.in: Add macros, directories. 2011-12-10 15:33:06 +00:00
condition_variable * include/std/condition_variable: Update copyright years. 2012-07-05 02:14:35 +01:00
deque c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
forward_list c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
fstream re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
functional functional (function::function(F)): LWG 2132: Disable constructor if argument isn't callable. 2012-04-29 23:59:37 +01:00
future memory: Include auto_ptr.h later. 2012-08-03 01:27:48 +01:00
iomanip iomanip (put_money): Fix thinko, use __err local, like in, eg, basic_ostream::_M_insert. 2011-12-02 17:23:08 +00:00
ios Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
iosfwd PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
iostream PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
istream re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
iterator [multiple changes] 2010-07-27 17:27:06 +00:00
limits re PR libstdc++/22200 (numeric_limits<signed>::is_modulo is inconsistent with gcc) 2012-04-29 09:25:17 +00:00
list c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
locale Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
map Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
memory memory: Include auto_ptr.h later. 2012-08-03 01:27:48 +01:00
mutex re PR libstdc++/53578 (include/ext/concurrence.h relies on ill-formed narrowing conversions) 2012-06-15 01:27:29 +01:00
numeric PR libstdc++/22634, DR 539 [Ready] 2009-12-11 17:54:37 +00:00
ostream re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
queue Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
random c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
ratio re PR libstdc++/53840 ([C++11] DR 921. Rational Arithmetic should use template aliases) 2012-07-03 19:24:07 +00:00
regex [multiple changes] 2010-07-27 17:27:06 +00:00
scoped_allocator scoped_allocator (scoped_allocator::__outermost): Do not pass non-POD to varargs function. 2012-04-25 19:03:03 +01:00
set Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
sstream re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
stack Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stdexcept re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
streambuf re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
string c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
system_error re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
thread acinclude.m4: Update references to final C++11 standard. 2012-08-09 23:45:20 +01:00
tuple re PR libstdc++/53648 ([C++11] nested empty tuples) 2012-06-14 23:07:33 +01:00
type_traits type_traits (is_nothrow_destructible): Implement. 2012-04-23 21:34:06 +00:00
typeindex hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
unordered_map 2012-08-10 François Dumont <fdumont@gcc.gnu.org> 2012-08-13 19:43:19 +00:00
unordered_set 2012-08-10 François Dumont <fdumont@gcc.gnu.org> 2012-08-13 19:43:19 +00:00
utility tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere. 2011-09-13 00:06:25 +00:00
valarray Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
vector Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00