summaryrefslogtreecommitdiff
path: root/boost/boost.5119.unordered_map-cp-ctor.patch
blob: 42e71752f975a108c5c1f8ad2ed2264b6f205ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Index: /trunk/boost/unordered/unordered_set.hpp
===================================================================
--- misc/boost_1_44_0/boost/unordered/unordered_set.hpp	(revision 60754)
+++ misc/build/boost_1_44_0/boost/unordered/unordered_set.hpp	(revision 68445)
@@ -155,4 +155,9 @@
 
 #if !defined(BOOST_NO_RVALUE_REFERENCES)
+        unordered_set(unordered_set const& other)
+          : table_(other.table_)
+        {
+        }
+
         unordered_set(unordered_set&& other)
           : table_(other.table_, boost::unordered_detail::move_tag())
@@ -163,4 +168,10 @@
           : table_(other.table_, a, boost::unordered_detail::move_tag())
         {
+        }
+
+        unordered_set& operator=(unordered_set const& x)
+        {
+            table_ = x.table_;
+            return *this;
         }
 
@@ -652,4 +663,9 @@
 
 #if !defined(BOOST_NO_RVALUE_REFERENCES)
+        unordered_multiset(unordered_multiset const& other)
+          : table_(other.table_)
+        {
+        }
+
         unordered_multiset(unordered_multiset&& other)
           : table_(other.table_, boost::unordered_detail::move_tag())
@@ -660,4 +676,10 @@
           : table_(other.table_, a, boost::unordered_detail::move_tag())
         {
+        }
+
+        unordered_multiset& operator=(unordered_multiset const& x)
+        {
+            table_ = x.table_;
+            return *this;
         }
 
Index: /trunk/boost/unordered/unordered_map.hpp
===================================================================
--- misc/boost_1_44_0/boost/unordered/unordered_map.hpp	(revision 60754)
+++ misc/build/boost_1_44_0/boost/unordered/unordered_map.hpp	(revision 68445)
@@ -161,4 +161,9 @@
 
 #if !defined(BOOST_NO_RVALUE_REFERENCES)
+        unordered_map(unordered_map const& other)
+          : table_(other.table_)
+        {
+        }
+
         unordered_map(unordered_map&& other)
           : table_(other.table_, boost::unordered_detail::move_tag())
@@ -169,4 +174,10 @@
           : table_(other.table_, a, boost::unordered_detail::move_tag())
         {
+        }
+
+        unordered_map& operator=(unordered_map const& x)
+        {
+            table_ = x.table_;
+            return *this;
         }
 
@@ -706,4 +717,9 @@
 
 #if !defined(BOOST_NO_RVALUE_REFERENCES)
+        unordered_multimap(unordered_multimap const& other)
+          : table_(other.table_)
+        {
+        }
+
         unordered_multimap(unordered_multimap&& other)
           : table_(other.table_, boost::unordered_detail::move_tag())
@@ -714,4 +730,10 @@
           : table_(other.table_, a, boost::unordered_detail::move_tag())
         {
+        }
+
+        unordered_multimap& operator=(unordered_multimap const& x)
+        {
+            table_ = x.table_;
+            return *this;
         }