Lines Matching refs:swap
16 - swap(forward_list&& __list)
17 + swap(forward_list& __list)
18 { _Node_base::swap(this->_M_impl._M_head, __list._M_impl._M_head); }
68 - swap(__shared_ptr<_Tp, _Lp>&& __other) // never throws
69 + swap(__shared_ptr<_Tp, _Lp>& __other) // never throws
71 std::swap(_M_ptr, __other._M_ptr);
74 swap(__shared_ptr<_Tp, _Lp>& __a, __shared_ptr<_Tp, _Lp>& __b)
75 { __a.swap(__b); }
79 - swap(__shared_ptr<_Tp, _Lp>&& __a, __shared_ptr<_Tp, _Lp>& __b)
80 - { __a.swap(__b); }
84 - swap(__shared_ptr<_Tp, _Lp>& __a, __shared_ptr<_Tp, _Lp>&& __b)
85 - { __a.swap(__b); }
91 swap(shared_ptr<_Tp>& __a, shared_ptr<_Tp>& __b)
92 { __a.swap(__b); }
96 - swap(shared_ptr<_Tp>&& __a, shared_ptr<_Tp>& __b)
97 - { __a.swap(__b); }
101 - swap(shared_ptr<_Tp>& __a, shared_ptr<_Tp>&& __b)
102 - { __a.swap(__b); }
115 - swap(vector&& __x)
117 swap(vector& __x)
120 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
121 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
126 * std::swap(d1,d2) will feed to this function.
130 - swap(deque&& __x)
132 swap(deque& __x)
135 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
136 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
157 - swap(list&& __x)
159 swap(list& __x)
162 _List_node_base::swap(this->_M_impl._M_node, __x._M_impl._M_node);
231 * that std::swap(m1,m2) will feed to this function.
235 - swap(map&& __x)
237 swap(map& __x)
239 { _M_t.swap(__x._M_t); }
246 * std::swap(m1,m2) will feed to this function.
250 - swap(multimap&& __x)
252 swap(multimap& __x)
254 { _M_t.swap(__x._M_t); }
261 * std::swap(s1,s2) will feed to this function.
265 - swap(multiset&& __x)
267 swap(multiset& __x)
269 { _M_t.swap(__x._M_t); }
324 - swap(pair&& __p)
325 + swap(pair& __p)
327 using std::swap;
328 swap(first, __p.first);
336 - swap(queue&& __q)
337 + swap(queue& __q)
338 { c.swap(__q.c); }
345 - swap(priority_queue&& __pq)
346 + swap(priority_queue& __pq)
348 using std::swap;
349 c.swap(__pq.c);
354 * std::swap(s1,s2) will feed to this function.
358 - swap(set&& __x)
360 swap(set& __x)
362 { _M_t.swap(__x._M_t); }
372 - swap(stack&& __s)
373 + swap(stack& __s)
374 { c.swap(__s.c); }
385 - swap(_Rb_tree&& __t);
387 swap(_Rb_tree& __t);
397 - swap(_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&& __t)
399 swap(_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __t)
408 * std::swap(v1,v2) will feed to this function.
412 - swap(vector&& __x)
414 swap(vector& __x)
417 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
418 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
426 - swap(unique_ptr&& __u)
427 + swap(unique_ptr& __u)
429 using std::swap;
430 swap(_M_t, __u._M_t);
435 - swap(unique_ptr&& __u)
436 + swap(unique_ptr& __u)
438 using std::swap;
439 swap(_M_t, __u._M_t);
442 { __x.swap(__y); }
446 - swap(unique_ptr<_Tp, _Tp_Deleter>&& __x,
448 - { __x.swap(__y); }
452 - swap(unique_ptr<_Tp, _Tp_Deleter>& __x,
454 - { __x.swap(__y); }
509 - swap(__versa_string&& __s)
511 swap(__versa_string& __s)
524 - void swap(_Hashtable&&);
526 void swap(_Hashtable&);
536 - swap(_Hashtable&& __x)
538 swap(_Hashtable& __x)
562 using std::swap;
563 swap(__h, _M_head_impl);
586 - swap(tuple&& __in)
587 + swap(tuple& __in)
595 - void swap(tuple&&) { /* no-op */ }
596 + void swap(tuple&) { /* no-op */ }
604 - swap(tuple&& __in)
605 + swap(tuple& __in)
607 using std::swap;
608 swap(this->_M_head(), __in._M_head());