@@ -356,10 +356,7 @@ hash_set<_Value, _Hash, _Pred, _Alloc>::hash_set(
356
356
}
357
357
358
358
template <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_) {}
363
360
364
361
template <class _Value , class _Hash , class _Pred , class _Alloc >
365
362
template <class _InputIterator >
@@ -534,10 +531,7 @@ hash_multiset<_Value, _Hash, _Pred, _Alloc>::hash_multiset(
534
531
}
535
532
536
533
template <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_) {}
541
535
542
536
template <class _Value , class _Hash , class _Pred , class _Alloc >
543
537
template <class _InputIterator >
0 commit comments