]> git.ipfire.org Git - thirdparty/gcc.git/commit
unordered_map.h (unordered_map<>): Prefer aggregation to inheritance with _Hashtable.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 27 Oct 2012 12:20:18 +0000 (12:20 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 27 Oct 2012 12:20:18 +0000 (12:20 +0000)
commit099e644e2d4e801a4cfadd3852d207510a59497a
treedebbb2fe9eace0f2432c1f441c4d639bf4eba0d4
parent7999d7b4e6f6a225d8afddd54fd499ec6448a0cd
unordered_map.h (unordered_map<>): Prefer aggregation to inheritance with _Hashtable.

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.

From-SVN: r192876
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/unordered_map.h
libstdc++-v3/include/bits/unordered_set.h
libstdc++-v3/include/debug/unordered_map
libstdc++-v3/include/profile/unordered_map