2012-10-27 François Dumont <fdumont@gcc.gnu.org>
commit2fd6d330ddb86189a2a33adb4554aed1de7041c6
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Oct 2012 12:20:18 +0000 (27 12:20 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Oct 2012 12:20:18 +0000 (27 12:20 +0000)
treedebbb2fe9eace0f2432c1f441c4d639bf4eba0d4
parent1a2798acf9209c4b0136a54fcea392db89111fc6
2012-10-27  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/unordered_map.h (unordered_map<>): Prefer
aggregation to inheritance with _Hashtable.
(unordered_multimap<>): Likewise.
* include/bits/unordered_set.h
(unordered_set<>(const unordered_set&)):  Use default
implementation.
(unordered_set<>(unordered_set&&)): Likewise.
(unordered_set<>::operator=(const unordered_set&)): Likewise.
(unordered_set<>::operator=(unordered_set&&)): Likewise.
(unordered_multiset<>(const unordered_multiset&)): Likewise.
(unordered_multiset<>(unordered_multiset&&)): Likewise.
(unordered_multiset<>::operator=(const unordered_multiset&)):
Likewise.
(unordered_multiset<>::operator=(unordered_multiset&&)): Likewise.
* include/debug/unordered_map (operator==): Adapt.
* include/profile/unordered_map (operator==): Adapt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192876 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/unordered_map.h [copied from libstdc++-v3/include/bits/unordered_set.h with 63% similarity]
libstdc++-v3/include/bits/unordered_set.h
libstdc++-v3/include/debug/unordered_map
libstdc++-v3/include/profile/unordered_map