Closed wg21bot closed 1 year ago
friend constexpr void swap(expected& x, expected& y) noexcept(noexcept(x.swap(y)));
Note that the member swap is constrained
Constraints: x.swap(y) is well formed
LWG identified that this is already constrained by "Effects: Equivalent to" https://eel.is/c++draft/expected#un.swap-2
poll: NAD 7-0-0 in Kona Tue.
Rejected. There is no consensus for a change.
friend constexpr void swap(expected& x, expected& y) noexcept(noexcept(x.swap(y)));
Note that the member swap is constrained
Constraints: x.swap(y) is well formed