tmp/tmpbedmwpkx/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Equality operator <a id="expected.un.eq">[[expected.un.eq]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
template<class E2>
|
| 5 |
+
friend constexpr bool operator==(const unexpected& x, const unexpected<E2>& y);
|
| 6 |
+
```
|
| 7 |
+
|
| 8 |
+
*Mandates:* The expression `x.error() == y.error()` is well-formed and
|
| 9 |
+
its result is convertible to `bool`.
|
| 10 |
+
|
| 11 |
+
*Returns:* `x.error() == y.error()`.
|
| 12 |
+
|