@@ -356,10 +356,7 @@ hash_set<_Value, _Hash, _Pred, _Alloc>::hash_set(
356356}
357357
358358template <class _Value , class _Hash , class _Pred , class _Alloc >
359- hash_set<_Value, _Hash, _Pred, _Alloc>::hash_set(const hash_set& __u) : __table_(__u.__table_) {
360- __table_.__rehash_unique (__u.bucket_count ());
361- insert (__u.begin (), __u.end ());
362- }
359+ hash_set<_Value, _Hash, _Pred, _Alloc>::hash_set(const hash_set& __u) : __table_(__u.__table_) {}
363360
364361template <class _Value , class _Hash , class _Pred , class _Alloc >
365362template <class _InputIterator >
@@ -534,10 +531,7 @@ hash_multiset<_Value, _Hash, _Pred, _Alloc>::hash_multiset(
534531}
535532
536533template <class _Value , class _Hash , class _Pred , class _Alloc >
537- hash_multiset<_Value, _Hash, _Pred, _Alloc>::hash_multiset(const hash_multiset& __u) : __table_(__u.__table_) {
538- __table_.__rehash_multi (__u.bucket_count ());
539- insert (__u.begin (), __u.end ());
540- }
534+ hash_multiset<_Value, _Hash, _Pred, _Alloc>::hash_multiset(const hash_multiset& __u) : __table_(__u.__table_) {}
541535
542536template <class _Value , class _Hash , class _Pred , class _Alloc >
543537template <class _InputIterator >
0 commit comments