Lines Matching refs:m1
30 M m1;
32 M m1_save = m1;
34 swap(m1, m2);
35 assert(m1 == m2_save);
50 M m1;
52 M m1_save = m1;
54 swap(m1, m2);
55 assert(m1 == m2_save);
66 M m1(ar1, ar1+sizeof(ar1)/sizeof(ar1[0]));
68 M m1_save = m1;
70 swap(m1, m2);
71 assert(m1 == m2_save);
93 M m1(ar1, ar1+sizeof(ar1)/sizeof(ar1[0]));
95 M m1_save = m1;
97 swap(m1, m2);
98 assert(m1 == m2_save);
123 M m1(ar1, ar1+sizeof(ar1)/sizeof(ar1[0]), C(1), A(1));
125 M m1_save = m1;
127 swap(m1, m2);
128 assert(m1 == m2_save);
130 assert(m1.key_comp() == C(2));
131 assert(m1.get_allocator() == A(1));
157 M m1(ar1, ar1+sizeof(ar1)/sizeof(ar1[0]), C(1), A(1));
159 M m1_save = m1;
161 swap(m1, m2);
162 assert(m1 == m2_save);
164 assert(m1.key_comp() == C(2));
165 assert(m1.get_allocator() == A(2));
174 M m1;
176 M m1_save = m1;
178 swap(m1, m2);
179 assert(m1 == m2_save);
194 M m1;
196 M m1_save = m1;
198 swap(m1, m2);
199 assert(m1 == m2_save);
210 M m1(ar1, ar1+sizeof(ar1)/sizeof(ar1[0]));
212 M m1_save = m1;
214 swap(m1, m2);
215 assert(m1 == m2_save);
237 M m1(ar1, ar1+sizeof(ar1)/sizeof(ar1[0]));
239 M m1_save = m1;
241 swap(m1, m2);
242 assert(m1 == m2_save);
267 M m1(ar1, ar1+sizeof(ar1)/sizeof(ar1[0]), C(1), A());
269 M m1_save = m1;
271 swap(m1, m2);
272 assert(m1 == m2_save);
274 assert(m1.key_comp() == C(2));
275 assert(m1.get_allocator() == A());