Lines Matching defs:swap
11 // friend constexpr void swap(expected& x, expected& y) noexcept(noexcept(x.swap(y)));
25 void swap(NotSwappable&, NotSwappable&) = delete;
37 friend void swap(NotMoveConstructible&, NotMoveConstructible&) {}
48 friend void swap(MoveMayThrow&, MoveMayThrow&) noexcept {}
70 friend void swap(SwapMayThrow&, SwapMayThrow&) noexcept(false) {}
84 swap(x, y);
98 swap(x, y);
114 swap(e1, e2);
133 swap(e1, e2);
152 swap(e1, e2);
171 swap(e1, e2);
191 swap(x, y);
194 // _before_ constructing the member objects inside the `swap`.
204 swap(x, y);
207 // _before_ constructing the member objects inside the `swap`.
223 swap(e1, e2);
236 swap(e1, e2);
251 swap(x, y);
256 // flag when rolling back the swap.
266 swap(x, y);
270 // flag when rolling back the swap.