Lines Matching defs:swap
11 // friend constexpr void swap(expected& x, expected& y) noexcept(noexcept(swap(x,y)));
27 void swap(NotSwappable&, NotSwappable&) = delete;
34 friend void swap(NotMoveConstructible&, NotMoveConstructible&) {}
43 friend void swap(MoveMayThrow&, MoveMayThrow&) noexcept {}
49 { swap(x, y) } noexcept;
58 friend void swap(SwapMayThrow&, SwapMayThrow&) noexcept(false) {}
69 swap(x, y);
79 swap(x, y);
95 swap(e1, e2);
111 swap(e1, e2);
126 swap(x, y);
129 // _before_ constructing the member object inside the `swap`.
145 swap(e1, e2);
160 swap(e1, e2);
174 swap(x, y);