@@ -472,7 +472,7 @@ public:
472472 const hasher& __hf,
473473 const key_equal& __eql,
474474 const allocator_type& __a);
475- _LIBCPP_HIDE_FROM_ABI hash_map (const hash_map& __u);
475+ _LIBCPP_HIDE_FROM_ABI hash_map (const hash_map& __u) = default ;
476476
477477 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator () const { return allocator_type (__table_.__node_alloc ()); }
478478
@@ -569,12 +569,6 @@ hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
569569 insert (__first, __last);
570570}
571571
572- template <class _Key , class _Tp , class _Hash , class _Pred , class _Alloc >
573- hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(const hash_map& __u) : __table_(__u.__table_) {
574- __table_.__rehash_unique (__u.bucket_count ());
575- insert (__u.begin (), __u.end ());
576- }
577-
578572template <class _Key , class _Tp , class _Hash , class _Pred , class _Alloc >
579573typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
580574hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node(const key_type& __k) {
@@ -696,7 +690,7 @@ public:
696690 const hasher& __hf,
697691 const key_equal& __eql,
698692 const allocator_type& __a);
699- _LIBCPP_HIDE_FROM_ABI hash_multimap (const hash_multimap& __u);
693+ _LIBCPP_HIDE_FROM_ABI hash_multimap (const hash_multimap& __u) = default ;
700694
701695 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator () const { return allocator_type (__table_.__node_alloc ()); }
702696
@@ -786,9 +780,6 @@ hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
786780 insert (__first, __last);
787781}
788782
789- template <class _Key , class _Tp , class _Hash , class _Pred , class _Alloc >
790- hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(const hash_multimap& __u) : __table_(__u.__table_) {}
791-
792783template <class _Key , class _Tp , class _Hash , class _Pred , class _Alloc >
793784template <class _InputIterator >
794785inline void hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIterator __last) {
0 commit comments